Sha256: f94e08bc90a485054f5989848186eb1bb0b358aa4d67ffbba46aebc4480ee705
Contents?: true
Size: 395 Bytes
Versions: 6
Compression:
Stored size: 395 Bytes
Contents
module ActiveRecord module ActsAs module ReflectionsWithActsAs def _reflections super.reverse_merge(acting_as_model._reflections) end end module ClassMethods def self.included(module_) module_.prepend ReflectionsWithActsAs end def validators_on(*args) super + acting_as_model.validators_on(*args) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems