instance method
create_or_update
Ruby on Rails 6.1.7.10
Since v6.0.6 PrivateSignature
create_or_update(touch: true, **)
No documentation comment.
Parameters
-
touchkey = true -
kwargskeyrest
Source
# File activerecord/lib/active_record/timestamp.rb, line 124
def create_or_update(touch: true, **)
@_touch_record = touch
super
end
Defined in activerecord/lib/active_record/timestamp.rb line 124
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Timestamp