[Rails] Nic’s Magic Models, how about Magic Schema
Josh Peek
josh at joshpeek.com
Tue Aug 8 18:53:41 GMT 2006
I side with David when it comes to databases. They suck! Just my own
opinion.
So what about the people who don't want to define validations and stuff
in the database, but still want to be DRY.
I really hate how the schema is separate from my models. I kind of like
how Django defines the table attributes in the model. I was think about
trying something like that in Rails.
You could define the attributes in the model and run a special generator
that creates a migration from the schema.
Any ideas? I'm just brian storming right now.
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list