> Where is this code been run ?

It's being run in the join table's fixture.

> (and to be quite blunt - why?)

Because there's a lot of test data in the other two tables, and typing 
it out by hand would be big waste of time. Normally the data in the join 
table is generated by after_save, but since that isn't called when 
fixtures are loaded I have to do it this way.
-- 
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to