File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/actiontext-7.0.4.2/ri/ActionText/FixtureSet/attachment-c.ri
U:RDoc::AnyMethod[iI"attachment:ETI"'ActionText::FixtureSet::attachment;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MFixtures support Action Text attachments as part of their <tt>body</tt> ;TI"
HTML.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading:
leveli: textI"
Examples;T@o;
; [I"IFor example, consider a second <tt>Article</tt> fixture declared in ;TI")<tt>test/fixtures/articles.yml</tt>:;T@o:RDoc::Markup::Verbatim; [I"
second:
;TI" title: Another Article
;T:@format0o;
; [I"PYou can attach a mention of <tt>articles(:first)</tt> to <tt>second</tt>'s ;TI"X<tt>content</tt> by embedding a call to <tt>ActionText::FixtureSet.attachment</tt> ;TI"Vin the <tt>body:</tt> value in <tt>test/fixtures/action_text/rich_texts.yml</tt>:;T@o;; [ I"
second:
;TI" record: second (Article)
;TI" name: content
;TI"[ body: <div>Hello, <%= ActionText::FixtureSet.attachment("articles", :first) %></div>;T;0:
@fileI"#lib/action_text/fixture_set.rb;T:0@omit_headings_from_table_of_contents_below000[ I"5(fixture_set_name, label, column_type: :integer);T@%FI"FixtureSet;TcRDoc::NormalClass00