class ActiveRecord::Associations::AssociationScope::ReflectionProxy

def initialize(reflection, aliased_table)

def initialize(reflection, aliased_table)
  super(reflection)
  @aliased_table = aliased_table
end