diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-04-13 09:42:31 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-04-13 09:42:51 -0700 |
commit | eebb19c954d64760c232cda10263200f32fcf036 (patch) | |
tree | aa9d760d7680c75fd930c6032a50090c630d68d2 /activerecord/test/cases/adapters/mysql/connection_test.rb | |
parent | 48fb6b338061c80deda92fd935992cee86a3b368 (diff) | |
download | rails-eebb19c954d64760c232cda10263200f32fcf036.tar.gz rails-eebb19c954d64760c232cda10263200f32fcf036.tar.bz2 rails-eebb19c954d64760c232cda10263200f32fcf036.zip |
use index based substitution for bind parameters
Diffstat (limited to 'activerecord/test/cases/adapters/mysql/connection_test.rb')
-rw-r--r-- | activerecord/test/cases/adapters/mysql/connection_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/mysql/connection_test.rb b/activerecord/test/cases/adapters/mysql/connection_test.rb index eb3f8143e7..eee771ecff 100644 --- a/activerecord/test/cases/adapters/mysql/connection_test.rb +++ b/activerecord/test/cases/adapters/mysql/connection_test.rb @@ -44,7 +44,7 @@ class MysqlConnectionTest < ActiveRecord::TestCase end def test_bind_value_substitute - bind_param = @connection.substitute_for('foo', []) + bind_param = @connection.substitute_at('foo', 0) assert_equal Arel.sql('?'), bind_param end |