Sha256: 7f557da3ea5a1fb565603a6c7ac00274cabcecf7f101bda6db1ca7173654f9ba
Contents?: true
Size: 376 Bytes
Versions: 1
Compression:
Stored size: 376 Bytes
Contents
module ActiveRecord module QueryMethods private # For some reason on .include or a custom join # Arel drops the table name prefix on slave classes def build_select(arel, selects) unless selects.empty? @implicit_readonly = false arel.project(*selects) else arel.project("#{quoted_table_name}.*") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
connection_manager-1.0.1 | lib/connection_manager/patches/query_methods_patch.rb |