Many thanks for your help. Very appreciated.
Happy RoR3 developments!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To
Try this
Factory.define :article do |f|
f.title "Hello, world"
f.comments {|comments| [comments.association(::comment)]}
end
Factory.define :comment do |f|
f.content "Awesome!"
end
On Sep 3, 6:07 am, Satsou Sa wrote:
> Hello,
>
> I have this kind of relation:
>
> class Arti
2 matches
Mail list logo