diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-10 17:53:12 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-10 17:53:12 +0900 |
commit | b33ccaa6c335e2ce482c9de1aa05e4a612aa84bc (patch) | |
tree | 69b2ad38b2fa72d5404ac12e10958f50eb386ba2 /activerecord | |
parent | faf07d1468af06bb3f7f5dd0776d77dd252af3b6 (diff) | |
download | rails-b33ccaa6c335e2ce482c9de1aa05e4a612aa84bc.tar.gz rails-b33ccaa6c335e2ce482c9de1aa05e4a612aa84bc.tar.bz2 rails-b33ccaa6c335e2ce482c9de1aa05e4a612aa84bc.zip |
Remove unused callbacks in the `Topic` model
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/models/topic.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/models/topic.rb b/activerecord/test/models/topic.rb index 77101090f2..5cc3179e3f 100644 --- a/activerecord/test/models/topic.rb +++ b/activerecord/test/models/topic.rb @@ -56,9 +56,7 @@ class Topic < ActiveRecord::Base alias_attribute :heading, :title - before_validation :before_validation_for_transaction before_save :before_save_for_transaction - before_destroy :before_destroy_for_transaction after_save :after_save_for_transaction after_create :after_create_for_transaction @@ -108,9 +106,7 @@ class Topic < ActiveRecord::Base end end - def before_validation_for_transaction; end def before_save_for_transaction; end - def before_destroy_for_transaction; end def after_save_for_transaction; end def after_create_for_transaction; end |