|
|
|
|
|
by lukes386
4691 days ago
|
|
Yes, that's true. The approach has it's drawbacks though (validates_uniqueness_of being a prime example). As much as I like Rails, I sometimes wish it were designed with the database playing more of a role than just dumb storage. Defining things like validations in Ruby is certainly nice and easy, but the database is much better suited to actually enforcing such constraints. |
|