method
create_with!
rails latest stable - Class:
ActiveRecord::QueryMethods
create_with!(value)public
No documentation available.
# File activerecord/lib/active_record/relation/query_methods.rb, line 1249
def create_with!(value) # :nodoc:
if value
value = sanitize_forbidden_attributes(value)
self.create_with_value = create_with_value.merge(value)
else
self.create_with_value = FROZEN_EMPTY_HASH
end
self
end