aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/acts/list.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/acts/list.rb')
-rw-r--r--activerecord/lib/active_record/acts/list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/acts/list.rb b/activerecord/lib/active_record/acts/list.rb
index ad61f9f47d..abd295d4e9 100644
--- a/activerecord/lib/active_record/acts/list.rb
+++ b/activerecord/lib/active_record/acts/list.rb
@@ -60,7 +60,7 @@ module ActiveRecord
#{scope_condition_method}
- before_destroy :remove_from_list
+ after_destroy :remove_from_list
before_create :add_to_list_bottom
EOV
end