method

add_left_association

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: HasAndBelongsToMany
add_left_association(name, options) 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/has_and_belongs_to_many.rb, line 64
        def self.add_left_association(name, options)
          belongs_to name, options
          self.left_reflection = _reflect_on_association(name)
        end
Register or log in to add new notes.