Method: ActiveRecord::Reflection::ThroughReflection#constraints

Defined in:
activerecord/lib/active_record/reflection.rb

#constraintsObject



958
959
960
961
962
# File 'activerecord/lib/active_record/reflection.rb', line 958

def constraints
  scope_chain = source_reflection.constraints
  scope_chain << scope if scope
  scope_chain
end