Module: ActiveRecordInheritAssocPrepend
- Defined in:
- lib/active_record_inherit_assoc.rb
Instance Method Summary collapse
Instance Method Details
#target_scope ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/active_record_inherit_assoc.rb', line 20 def target_scope if inherited_attributes = attribute_inheritance_hash super.where(inherited_attributes) else super end end |