[Rails] Re: Cannot get fixtures working (with has_and_belongs_to_many)

2008-11-26 Thread Rob Biedenharn
On Nov 26, 2008, at 2:56 AM, Peter wrote: > Thanks for the answer Rob! > The intention was to avoid the the explicit definition of a join table > in the fixtures, > like it is possible since some months. See 'Let‘s make the HABTM > fixture go away. ' in > http://api.rubyonrails.org/classes/Fixture

[Rails] Re: Cannot get fixtures working (with has_and_belongs_to_many)

2008-11-25 Thread Peter
Thanks for the answer Rob! The intention was to avoid the the explicit definition of a join table in the fixtures, like it is possible since some months. See 'Let‘s make the HABTM fixture go away. ' in http://api.rubyonrails.org/classes/Fixtures.html For your approach: I will put the omap into a

[Rails] Re: Cannot get fixtures working (with has_and_belongs_to_many)

2008-11-23 Thread Rob Biedenharn
On Nov 23, 2008, at 5:22 PM, Peter wrote: > > Hmmh, > > even after cleaning up the roles_users (without timestamp) it does not > work (Hint from [1]) > Tried out different order of fixture importing -> nothing helps. > > So, I switched to the old way to define fixtures [2] and it works :-) > > R

[Rails] Re: Cannot get fixtures working (with has_and_belongs_to_many)

2008-11-23 Thread Peter
Hmmh, even after cleaning up the roles_users (without timestamp) it does not work (Hint from [1]) Tried out different order of fixture importing -> nothing helps. So, I switched to the old way to define fixtures [2] and it works :-) Regards, Peter. [1] http://groups.google.com/group/rubyonrail