From 915b6b3929bad242632bdef455154156ca25064c Mon Sep 17 00:00:00 2001 From: Rodrigo Flores Date: Sat, 28 Jul 2012 23:13:15 -0300 Subject: Explaining a bit better about the default behaviour of dependent --- activerecord/lib/active_record/associations.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 05715feb97..edf82eb170 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -941,7 +941,8 @@ module ActiveRecord # # The :dependent option can have different values which specify how the deletion # is done. For more information, see the documentation for this option on the different - # specific association types. + # specific association types. When no option is given, the behaviour is to do nothing + # with the associated records when destroying a record. # # === Delete or destroy? # -- cgit v1.2.3