[Rails-core] Re: define_schema for Active Resource

2009-12-16 Thread Joshua Peek
Looks good. DHH would recommend using instance_eval for the schema block just to clean up the "s." On Dec 15, 3:58 am, taryneast wrote: > So, following on from the original discussion-thread > here:http://groups.google.com/group/rubyonrails-core/browse_thread/thread/... > > I've built some base

[Rails-core] Re: define_schema for Active Resource

2009-12-17 Thread taryneast
Ah ok. I wasn't sure how to do that, and figured I'd follow the 'create_table' syntax. I'll have a go at the instance_eval version though. Always good to learn new stuff. :) Cheers, Taryn On Dec 16, 5:59 pm, Joshua Peek wrote: > Looks good. > > DHH would recommend using instance_eval for the sche