search for: _alwasy_

Displaying 1 result from an estimated 1 matches for "_alwasy_".

2006 May 25
0
Has_many, dependent=false, foreign keys legacy issues...
...ll stack -- ie AR should know that the delete is going to fail. From the developer POV it doesn''t really matter, but it seems to suggest that Rails doesn''t use the null=>false information to its benefit.... So generally speaking it looks like in legacy settings one should _alwasy_ use :dependent=>true with Cascade rules and careful thought is needed with Restrict rules? -- Posted via http://www.ruby-forum.com/.