3 ms·
> 1. You have to keep the schema and the associations in sync. I simply do not understand why in RoR the associations are not derived from the schema using fore
by davidw 16y ago
> 1. You have to keep the schema and the associations in sync. I simply do not understand why in RoR the associations are not derived from the schema using foreign key relationships.
...
> I wish Rails had proper support for database views. It's as if no one has any real experience with databases.
Recall that Rails was created, originally, for use with Mysql, which is the sort of environment where concepts like foreign keys were, perhaps, a bit foreign to some users.
I think your complaints are valid ones, but on the whole, I think Rails has been very good for web applications, because you can do more with less code, and yet keep it fairly clean. Once you've got things set up, it becomes pleasantly simple to interact with the database in straight up Ruby, while still being possible to do more complex things should the need arise.