From: Leslie Viljoen Date: 2006-06-15T04:47:51+09:00 Subject: Re: Using YAML as a data DSL On 6/14/06, Kirk Haines wrote: > On Wednesday 14 June 2006 11:26 am, Jatinder Singh wrote: > > > YAML provides a way to persist objects in text format which is I believe > > very user friendly, so what I thought is that a user can create a file with > > above contents and then use YAML::load method to load above file's content > > in to ruby object. I have found that when not using a database with ROR you lose a lot of nice automation provided by ActiveRecord. I have in fact been wondering what I'd have to do to make a datasource that looks like a database to Rails but is in fact just an array. Specifically I'd like to still be able to use scaffolds and other generators. The only suggestion I have seen in this regard is to make MEMORY tables using MySQL, but they don't seem to support auto-increment fields for some reason so I can't use them. Any ideas in that regard?