method
create_or_update_with_callbacks
v2.3.8 -
Show latest stable
- Class:
ActiveRecord::Callbacks
create_or_update_with_callbacks(#:nodoc:)private
No documentation available.
# File activerecord/lib/active_record/callbacks.rb, line 248
def create_or_update_with_callbacks #:nodoc:
return false if callback(:before_save) == false
if result = create_or_update_without_callbacks
callback(:after_save)
end
result
end