Here's another simple patch that allows you to try up fixtures:

http://dev.rubyonrails.org/ticket/7886

It also includes tests and rdoc. Basically, in a fixture, you can say

mike_user:
   id: 2
   account_id: <%= fixture :accounts, :elevatedrails%>

And that will grab the value from another fixture. It is dead simple  
and helps clean up fixtures.

Can we get this one applied as well?

Mike
http://www.elevatedrails.com




--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to