method

create_or_update

create_or_update()
private

No documentation available.

# File activerecord/lib/active_record/persistence.rb, line 500
    def create_or_update
      raise ReadOnlyRecord, "#{self.class} is marked as readonly" if readonly?
      result = new_record? ? _create_record : _update_record
      result != false
    end