class ROM::Session::State::Created

@api private

Public Instance Methods

commit() click to toggle source

@api private

# File lib/rom/session/state/created.rb, line 12
def commit
  relation.insert(object)
  mapper.store_in_identity_map(object)
  Persisted.new(object, mapper)
end