Marnen Laibow-Koser wrote:
>> ...snip...
>> Where's the right place to stash the "ounces_to_kg()" function so that
>> it's available when I rake db:load:fixtures?  
> 
> Nowhere, because IMHO it's never right to use Rails fixtures.  Use 
> factories instead -- I'm fond of Machinist, but there are other 
> solutions out there.  This will solve your problem and also give you 
> many other advantages.
> 
> Fixtures are a horribly broken feature of Rails.  Don't bother with 
> them.

Thanks Marnen -- very helpful.
-- 
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