Does Rails need database-level constraints?

Posted by shrimpy on Stack Overflow See other posts from Stack Overflow or by shrimpy
Published on 2010-04-07T01:46:13Z Indexed on 2010/04/07 3:53 UTC
Read the original article Hit count: 346

I have the same problem as in the following post.

So I am wondering, why doesn't Rails support generating foreign keys by default? Isn't it necessary? Or are we supposed to do it manually?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rails