diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-15 13:02:46 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-15 13:02:46 -0200 |
commit | cfa4c640402f536da896b231506681fb3a96a0d4 (patch) | |
tree | 483506262d05bb4d0d59b2f39c375be6cb559ca6 /activerecord/lib/active_record | |
parent | da5e5c5f779355a2e99e63a90612cbeaeb0fc986 (diff) | |
download | rails-cfa4c640402f536da896b231506681fb3a96a0d4.tar.gz rails-cfa4c640402f536da896b231506681fb3a96a0d4.tar.bz2 rails-cfa4c640402f536da896b231506681fb3a96a0d4.zip |
Revert "Work around undiagnosed bug that's draining a relation's bind_values"
This reverts commit 06cc38a2b0d4778746e8a2a2e2b6aa07e1c1c075.
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb index acdacfc97f..2703c2ed70 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb @@ -4,7 +4,6 @@ module ActiveRecord # Converts an arel AST to SQL def to_sql(arel, binds = []) if arel.respond_to?(:ast) - binds = binds.dup visitor.accept(arel.ast) do quote(*binds.shift.reverse) end |