method
_create_record
rails latest stable - Class:
ActiveRecord::Associations::HasManyAssociation
_create_record(attributes, *)private
No documentation available.
# File activerecord/lib/active_record/associations/has_many_association.rb, line 143
def _create_record(attributes, *)
if attributes.is_a?(Array)
super
else
update_counter_if_success(super, 1)
end
end