From: Vassilis Rizopoulos Date: 2007-06-29T04:39:11+09:00 Subject: Re: Getting fixtures to work without Rails Gregory Brown wrote: > On 6/28/07, Vassilis Rizopoulos wrote: > >> So what am I missing? Obviously I need to recreate some more of that >> Rails magic. > > This doesn't answer your question, but unless you've already created a > ton of fixtures, consider not using them at all. They suck in Rails > and probably will suck even more outside of Rails. :-/ OK, let us discuss this, cause I am at the point where I need data in the database (to get ruport in gear :) ) and I'm looking for a practical way to DRY such sets of data. Fixtures at the moment give me the ability to centrally manage my data (and if I could get them working) not write much more code. Note that at this point I am talking unit testing and I want to be able to run my tests with and without using rake (just a perk of mine). What would be a viable alternative for adding test data to an AR database? Cheers, V.- -- http://www.braveworld.net/riva