Sha256: 58c96222784b3160b257ce25fdbcbde4ecb261fdea1ed627b475da02005e4238
Contents?: true
Size: 457 Bytes
Versions: 3
Compression:
Stored size: 457 Bytes
Contents
module AdaptiveAlias module Hooks module Relation def pluck(*) AdaptiveAlias.rescue_statement_invalid(self){ super } end def select_all(*) AdaptiveAlias.rescue_statement_invalid(self){ super } end def exec_queries(*) AdaptiveAlias.rescue_statement_invalid(self){ super } end end end end class ActiveRecord::Relation prepend AdaptiveAlias::Hooks::Relation end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
adaptive_alias-0.1.0 | lib/adaptive_alias/hooks/relation.rb |
adaptive_alias-0.0.3 | lib/adaptive_alias/hooks/relation.rb |
adaptive_alias-0.0.1 | lib/adaptive_alias/hooks/relation.rb |