Here are a few suggestions, wondering what others thought:
When you generate a model for a DB table, it would be nice if the
model.rb contained the DB schema (kind of like # commented out schema)
right in the model file. This would make reference WAY easier and put
all of the DB stuff in one easy file. Thanks.
also nice, of course, woudl be for rails to try and 'guess' the
relationships among tables, and auto-generate the 'has_many' or
'belongs_to', if it is possible based on the syntax. Thanks.
Here are a few suggestions, wondering what others thought:
When you generate a model for a DB table, it would be nice if the
model.rb contained the DB schema (kind of like # commented out schema)
right in the model file. This would make reference WAY easier and put
all of the DB stuff in one easy file. Thanks.
also nice, of course, woudl be for rails to try and 'guess' the
relationships among tables, and auto-generate the 'has_many' or
'belongs_to', if it is possible based on the syntax. Thanks.
Here are a few suggestions, wondering what others thought:
When you generate a model for a DB table, it would be nice if the
model.rb contained the DB schema (kind of like # commented out schema)
right in the model file. This would make reference WAY easier and put
all of the DB stuff in one easy file. Thanks.