diff options
author | Dan Olson <olson_dan@yahoo.com> | 2014-12-27 17:17:57 -0600 |
---|---|---|
committer | Dan Olson <olson_dan@yahoo.com> | 2014-12-27 22:22:37 -0600 |
commit | e780e2fda326fa5ea616e1441a6ed81b2890085c (patch) | |
tree | fa3db96769d699bc7bdb4623d727c7302b0d6159 /activerecord/lib/active_record/callbacks.rb | |
parent | 307ec3db0fe26cbd1811d34a27e6637726ce23ce (diff) | |
download | rails-e780e2fda326fa5ea616e1441a6ed81b2890085c.tar.gz rails-e780e2fda326fa5ea616e1441a6ed81b2890085c.tar.bz2 rails-e780e2fda326fa5ea616e1441a6ed81b2890085c.zip |
Provide :touch option to save() to accommodate saving without updating timestamps. [#18202]
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
-rw-r--r-- | activerecord/lib/active_record/callbacks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb index 523d492a48..497ce8c15c 100644 --- a/activerecord/lib/active_record/callbacks.rb +++ b/activerecord/lib/active_record/callbacks.rb @@ -298,7 +298,7 @@ module ActiveRecord private - def create_or_update #:nodoc: + def create_or_update(*) #:nodoc: _run_save_callbacks { super } end |