Sha256: 04e8024cbccb170f780d9249503f277427158f9c248f9be90f2ba58c72eed97e
Contents?: true
Size: 501 Bytes
Versions: 7
Compression:
Stored size: 501 Bytes
Contents
module SecondLevelCache class RecordRelation < Array # A fake Array for fix ActiveRecord 5.0.1 records_for method changed bug # # in ActiveRecord 5.0.0 called: # records_for(slice) # # but 5.0.1 called: # https://github.com/rails/rails/blob/master/activerecord/lib/active_record/associations/preloader/association.rb#L118 # records_for(slice).load(&block) # # https://github.com/rails/rails/pull/26340 def load(&_block) self end end end
Version data entries
7 entries across 7 versions & 1 rubygems