I've written some fun code to ease the pain of associating between fixtures. 'Tis tested and documented! Essentially it allows you to replace this syntax
user_id: 5 with this: user: :joe as long as you have users.yml with joe: id: 5 http://blog.caboo.se/articles/2006/10/17/named-references-for-test-fixtures http://dev.rubyonrails.org/ticket/6424 There's not much actual code in there, and I sacrificed brevity for readability. Comments? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core -~----------~----~----~----~------~----~------~--~---
