Class: ActiveRecord::Reflection::AssociationReflection

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/mass_assignment_security/reflection.rb

Instance Method Summary collapse

Instance Method Details

#build_association(*options, &block) ⇒ Object



4
5
6
# File 'lib/active_record/mass_assignment_security/reflection.rb', line 4

def build_association(*options, &block)
  klass.new(*options, &block)
end