lib/adaptive_alias/hooks/relation.rb in adaptive_alias-0.1.0 vs lib/adaptive_alias/hooks/relation.rb in adaptive_alias-0.2.0

- old
+ new

@@ -1,17 +1,17 @@ module AdaptiveAlias module Hooks module Relation def pluck(*) - AdaptiveAlias.rescue_statement_invalid(self){ super } + AdaptiveAlias.rescue_statement_invalid(self, nil){ super } end def select_all(*) - AdaptiveAlias.rescue_statement_invalid(self){ super } + AdaptiveAlias.rescue_statement_invalid(self, nil){ super } end def exec_queries(*) - AdaptiveAlias.rescue_statement_invalid(self){ super } + AdaptiveAlias.rescue_statement_invalid(self, nil){ super } end end end end