Module: RactorRailsShim::ReflectionMacroPatch

Includes:
ReflectionMemoPatch
Defined in:
lib/ractor_rails_shim/patches/activerecord_reflection.rb

Instance Method Summary collapse

Methods included from ReflectionMemoPatch

#rrs_refl_cache

Instance Method Details

#klassObject



79
80
81
# File 'lib/ractor_rails_shim/patches/activerecord_reflection.rb', line 79

def klass
  rrs_refl_cache[[object_id, :klass]] ||= _klass(class_name)
end