method

define_accessors

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: SingularAssociation
define_accessors(model, reflection) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/associations/builder/singular_association.rb, line 9
    def self.define_accessors(model, reflection)
      super
      define_constructors(model.generated_association_methods, reflection.name) if reflection.constructable?
    end
Register or log in to add new notes.