method
new
rails latest stable - Class:
ActiveRecord::Associations::Preloader::HasAndBelongsToMany
new(klass, records, reflection, preload_options)public
No documentation available.
# File activerecord/lib/active_record/associations/preloader/has_and_belongs_to_many.rb, line 7
def initialize(klass, records, reflection, preload_options)
super
@join_table = Arel::Table.new(reflection.join_table).alias('t0')
end