method

build

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: BelongsTo

Not found

The exact documentation you were looking for could not be found. Here is the best guess.

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/belongs_to.rb, line 13
    def build
      reflection = super
      add_counter_cache_callbacks(reflection) if options[:counter_cache]
      add_touch_callbacks(reflection)         if options[:touch]
      configure_dependency
      reflection
    end
Register or log in to add new notes.