method
create_with!
v6.1.7.7 -
Show latest stable
- Class:
ActiveRecord::QueryMethods
create_with!(value)public
No documentation available.
# File activerecord/lib/active_record/relation/query_methods.rb, line 878
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