Re: [Rails] Re: Polymorphic many-to-many relationship?

2012-08-03 Thread Bhushan Ahire
unk > *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) %> &g

[Rails] Re: Polymorphic many-to-many relationship?

2009-09-06 Thread Mark Studebaker
Have you tried has_many_polymorphs (2.13) http://m.onkey.org/2007/8/14/excuse-me-wtf-is-polymorphs From: Heinz Strunk To: rubyonrails-talk@googlegroups.com Sent: Sunday, September 6, 2009 4:47:51 AM Subject: [Rails] Re: Polymorphic many-to-many relationship

[Rails] Re: Polymorphic many-to-many relationship?

2009-09-06 Thread Heinz Strunk
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/. --~--~-~--~--