class ScopedAssociations::ActiveRecord4::HasMany::ScopedHasManyAssociation
Public Instance Methods
creation_attributes()
click to toggle source
Calls superclass method
# File lib/scoped_associations/activerecord4/has_many.rb, line 66 def creation_attributes attributes = super attributes[reflection.foreign_scope] = reflection.name.to_s attributes end