Module: ActiveRecordInheritAssocPrepend
- Defined in:
- lib/active_record_inherit_assoc.rb
Instance Method Summary collapse
Instance Method Details
#target_scope ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/active_record_inherit_assoc.rb', line 14 def target_scope if inherited_attributes = attribute_inheritance_hash super.where(inherited_attributes) else super end end |