John Barnette wrote:
> You can write this pretty easily yourself using Fixtures.identify:
> 
> $ script/console
> 
>  >> require "active_record/fixtures"
>  >> def fixture klass, name; klass.find Fixtures.identify(name) end
>  >> fixture User, "bob"
> 
> 
> ~ j.

Indeed. Nice.
-- 
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