Skip to content

Commit

Permalink
Merge pull request rails#80 from jsanders/patch-1
Browse files Browse the repository at this point in the history
Proposed fix for issue 79 - rails#79
  • Loading branch information
tenderlove committed Aug 29, 2011
2 parents 6c7575f + 90ff5f1 commit 8ab89f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/arel/select_manager.rb
Expand Up @@ -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

Expand Down

0 comments on commit 8ab89f5

Please sign in to comment.