Sha256: b7617c0f7f9121fccf0b62dd54271046e81d05f15b1c8d1516cde990ab377639
Contents?: true
Size: 384 Bytes
Versions: 2
Compression:
Stored size: 384 Bytes
Contents
module ActiveRecord module Reflection if defined?(AbstractReflection) class AbstractReflection def build_association(*options, &block) klass.new(*options, &block) end end else class AssociationReflection def build_association(*options, &block) klass.new(*options, &block) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
protected_attributes-1.1.0 | lib/active_record/mass_assignment_security/reflection.rb |
protected_attributes-1.0.9 | lib/active_record/mass_assignment_security/reflection.rb |