method
verify_attributes
v6.0.0 -
Show latest stable
- Class:
ActiveRecord::InsertAll
verify_attributes(attributes)private
No documentation available.
# File activerecord/lib/active_record/insert_all.rb, line 107
def verify_attributes(attributes)
if keys != attributes.keys.to_set
raise ArgumentError, "All objects being inserted must have the same keys"
end
end