Sha256: 191b5a60a525ae978bc9acbe4b2b3959406c0fe98666ecc8308a1025f6c91918
Contents?: true
Size: 308 Bytes
Versions: 10
Compression:
Stored size: 308 Bytes
Contents
module AdaptiveAlias module Hooks module SingularAssociation def reader(*) AdaptiveAlias.rescue_missing_attribute(owner.class){ super } end end end end class ActiveRecord::Associations::SingularAssociation prepend AdaptiveAlias::Hooks::SingularAssociation end
Version data entries
10 entries across 10 versions & 1 rubygems