Flowdock
method

add_left_association

Importance_0
v5.2.3 - 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 66
        def self.add_left_association(name, options)
          belongs_to name, required: false, **options
          self.left_reflection = _reflect_on_association(name)
        end
Register or log in to add new notes.