aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-12-03 08:25:40 +0100
committerYves Senn <yves.senn@gmail.com>2014-12-03 08:25:40 +0100
commit19dfd2f8edf094f5deb9ad1beca7e33be7fc6370 (patch)
tree1c13fb62091a22a5380f6ad0a8b8545eae1bf1ab /activerecord/lib
parentd7043927ba7218091077a8f3cd2d7409ba25367f (diff)
parent44919e1cf08bbc181a5f416be9ba8b0933c0e6a6 (diff)
downloadrails-19dfd2f8edf094f5deb9ad1beca7e33be7fc6370.tar.gz
rails-19dfd2f8edf094f5deb9ad1beca7e33be7fc6370.tar.bz2
rails-19dfd2f8edf094f5deb9ad1beca7e33be7fc6370.zip
Merge pull request #17890 from sergey-alekseev/remove-useless-methods
remove useless methods
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/counter_cache.rb10
1 files changed, 0 insertions, 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(*)