method

build

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: Association
build() 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/association.rb, line 23
    def build
      validate_options
      reflection = model.create_reflection(self.class.macro, name, options, model)
      define_accessors
      reflection
    end
Register or log in to add new notes.