method

create_or_update

create_or_update(*args, &block)
private

No documentation available.

# File activerecord/lib/active_record/persistence.rb, line 552
    def create_or_update(*args, &block)
      _raise_readonly_record_error if readonly?
      result = new_record? ? _create_record(&block) : _update_record(*args, &block)
      result != false
    end