As far as I understand, Rails doesn’t provide “adequate” (whatever the definition of that may be) support for database table constraints. As you are probably well aware, it’s part of the design philosophy, and there have been many discussions about the issue. In the past, I’ve always fallen on the side of supporting table constraints, [...]
