diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb b/activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb index 0d8eb55388..146b77a95c 100644 --- a/activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb +++ b/activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb @@ -55,7 +55,7 @@ module ActiveRecord private def insert(ctx, data) binds = data.map { |name, value| - [@conn.columns('ex').find { |x| x.name == name }, value] + [ctx.columns('ex').find { |x| x.name == name }, value] } columns = binds.map(&:first).map(&:name) |