instance method
create_or_update
Ruby on Rails 7.2.3
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 125
def create_or_update(touch: true, **)
@_touch_record = touch
super
end
Defined in activerecord/lib/active_record/timestamp.rb line 125
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Timestamp