[Rails] Putting it all in one place with Schemas
Sorenson
jsorenson at bellsouth.net
Sun Jan 8 16:41:57 GMT 2006
I'm still relatively new to ROR, but I like what I see with the
database-neutral approach of Schemas. In the spirit of keeping it
simple and minimizing the number of files and location of information,
does ActiveState currently allow me to go ahead and place other low
level model information such as validation requirements and associations
inside the schema rather than putting it in a separate file which
specifies the "model". In this schema-as-model scheme, ActiveState
could import this information into the model along with other schema
information and ActiveState models could automagically appear without
having to create separate model files. Of course additional model
functionality that isn't so close to the DB could still be kept in a
separate model file.
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list