Sha256: d03e3279c89979573ce5231449d7ca47f47a7c90ba5a549a6e831800e65fea05
Contents?: true
Size: 390 Bytes
Versions: 9
Compression:
Stored size: 390 Bytes
Contents
module Arel module Middleware module ActiveRecordExtension def load_schema! # Prevent Rails from memoizing an empty response when using `Arel.middleware.to_sql`. # Re-applying the middleware will use the database executor to fetch the actual data. Arel.middleware.apply(Arel.middleware.current) do super end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems