Method: ActiveRecord::Reflection::ThroughReflection#constraints

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

#constraintsObject



1202
1203
1204
1205
1206
# File 'activerecord/lib/active_record/reflection.rb', line 1202

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