Does anyone got it working for Rails 3 On Sunday, 6 September 2009 18:58:19 UTC+5:30, Mark Studebaker wrote: > > Have you tried has_many_polymorphs (2.13) > > http://m.onkey.org/2007/8/14/excuse-me-wtf-is-polymorphs > > > ------------------------------ > *From:* Heinz Strunk <rails-mailing-l...@andreas-s.net> > *To:* rubyonrails-talk@googlegroups.com > *Sent:* Sunday, September 6, 2009 4:47:51 AM > *Subject:* [Rails] Re: Polymorphic many-to-many relationship? > > > Managed to get it working by changing the fixture to: > resource: <%= Fixtures.identify(:row_house) %> > resource_type: BuildingType > > Still don't like it cause that's not what RoR is about. Any help would > be still highly appreciated :) > -- > 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-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/8IYKjZGSztoJ. For more options, visit https://groups.google.com/groups/opt_out.