Permalink
Browse files

Merge pull request #80 from jsanders/patch-1

Proposed fix for issue 79 - #79
  • Loading branch information...
2 parents 6c7575f + 90ff5f1 commit 8ab89f5200cdab1aa955e3217b5dd4089d50d63e @tenderlove tenderlove committed Aug 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/arel/select_manager.rb
@@ -51,7 +51,7 @@ def where_clauses
if $VERBOSE
warn "(#{caller.first}) where_clauses is deprecated and will be removed in arel 3.0.0 with no replacement"
end
- to_sql = Visitors::ToSql.new @engine
+ to_sql = Visitors::ToSql.new @engine.connection_pool
@ctx.wheres.map { |c| to_sql.accept c }
end

0 comments on commit 8ab89f5

Please sign in to comment.