diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-11-14 13:18:31 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-11-14 13:18:31 -0500 |
commit | ee93787580752ff9246f052de801d90554754d41 (patch) | |
tree | a0133ce407d9f50a0114c0134261016db23dc76d /activerecord | |
parent | 7c1566b2789c779acfeba34a7d86ab5ca5e2c0bd (diff) | |
download | rails-ee93787580752ff9246f052de801d90554754d41.tar.gz rails-ee93787580752ff9246f052de801d90554754d41.tar.bz2 rails-ee93787580752ff9246f052de801d90554754d41.zip |
Fix style violations
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/define_callbacks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/define_callbacks.rb b/activerecord/lib/active_record/define_callbacks.rb index 47d3762245..7d955a24be 100644 --- a/activerecord/lib/active_record/define_callbacks.rb +++ b/activerecord/lib/active_record/define_callbacks.rb @@ -13,7 +13,7 @@ module ActiveRecord included do include ActiveModel::Validations::Callbacks - define_model_callbacks :initialize, :find, :touch, :only => :after + define_model_callbacks :initialize, :find, :touch, only: :after define_model_callbacks :save, :create, :update, :destroy end end |