Sha256: 62fc7d8e7163d131927a684346cbe964c960c1aa0e295f3f9f891ef92b3d9d9b
Contents?: true
Size: 296 Bytes
Versions: 1
Compression:
Stored size: 296 Bytes
Contents
module AdaptiveAlias module Hooks module AssociationScope def last_chain_scope(*) AdaptiveAlias.rescue_missing_attribute{ super } end end end end class ActiveRecord::Associations::AssociationScope prepend AdaptiveAlias::Hooks::AssociationScope end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adaptive_alias-0.0.3 | lib/adaptive_alias/hooks/association_scope.rb |