Sha256: 66bf0979976c383f65c0cb21969bf2fd14cf99aa3f537d75b251fa5add118ffd
Contents?: true
Size: 276 Bytes
Versions: 1
Compression:
Stored size: 276 Bytes
Contents
module EdgeRider module OriginClass def origin_class scope = scoped({}) while scope.respond_to?(:klass, true) scope = scope.klass end scope end end end ActiveSupport.on_load :active_record do extend(EdgeRider::OriginClass) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
edge_rider-2.3.1 | lib/edge_rider/origin_class.rb |