Closed sheerun closed 11 years ago
Then you need to require :dependent => :destroy which is not always the wanted behaviour.
:dependent => :destroy
But can indexed columns have null values?
Index != unique. So I don't get why you want null: false rule?
OK, :back:
Then you need to require
:dependent => :destroy
which is not always the wanted behaviour.