method

create_or_update

create_or_update()
private

No documentation available.

# File activerecord/lib/active_record/persistence.rb, line 346
    def create_or_update
      raise ReadOnlyRecord if readonly?
      result = new_record? ? create : update
      result != false
    end