What are the default values for Rails 3 for :dependent on has_many and belongs_to

Viewed 7493

In rails 3, i know that i can force deletion of dependent objects on belongs_to and has_many relations using the :dependent => :delete option. However i was wondering,

what is the default behavior if i do not specify :dependent => ...

Cheers, Hajo

3 Answers
Related