From 44919e1cf08bbc181a5f416be9ba8b0933c0e6a6 Mon Sep 17 00:00:00 2001 From: Sergey Alekseev Date: Wed, 3 Dec 2014 03:20:55 +0300 Subject: [PATCH] remove useless methods --- activerecord/lib/active_record/counter_cache.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/activerecord/lib/active_record/counter_cache.rb b/activerecord/lib/active_record/counter_cache.rb index 73fd96f979..101889638d 100644 --- a/activerecord/lib/active_record/counter_cache.rb +++ b/activerecord/lib/active_record/counter_cache.rb @@ -123,16 +123,6 @@ module ActiveRecord end end - protected - - def actually_destroyed? - @_actually_destroyed - end - - def clear_destroy_state - @_actually_destroyed = nil - end - private def _create_record(*)