Module: MetaWhere::AssociationReflection

Defined in:
lib/meta_where/association_reflection.rb

Instance Method Summary collapse

Instance Method Details

#initialize(macro, name, options, active_record) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/meta_where/association_reflection.rb', line 6

def initialize(macro, name, options, active_record)
  super

  if options.has_key?(:conditions)
    ensure_no_metawhere_in_conditions(options[:conditions])
  end
end