Sha256: 7558d46ba62bf00dbb1c6df31613fe7916f76fb5a381112cdff552267ba1339b
Contents?: true
Size: 610 Bytes
Versions: 2
Compression:
Stored size: 610 Bytes
Contents
module Arel module Middleware module PostgreSQLAdapter def initialize(*args) Arel.middleware.none do super(*args) end end def execute(sql, name = nil) sql = Arel::Middleware.current_chain.execute(sql) super(sql, name) end def exec_no_cache(sql, name, binds) sql = Arel::Middleware.current_chain.execute(sql, binds) super(sql, name, binds) end def exec_cache(sql, name, binds) sql = Arel::Middleware.current_chain.execute(sql, binds) super(sql, name, binds) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arel_toolkit-0.4.0 | lib/arel/middleware/postgresql_adapter.rb |
arel_toolkit-0.3.0 | lib/arel/middleware/postgresql_adapter.rb |