diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-30 11:48:24 -0800 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-30 11:48:24 -0800 |
commit | 162f7c1edcc45074aca482b4688a08e8ab41083f (patch) | |
tree | 81a4c4f16735412268dd881738bd96e96e330127 /activerecord | |
parent | bb21d6ed7adc899435f32e297115fe98381e71d4 (diff) | |
parent | 551c9232de911c29f4d66277c3c04dd181a8b2f9 (diff) | |
download | rails-162f7c1edcc45074aca482b4688a08e8ab41083f.tar.gz rails-162f7c1edcc45074aca482b4688a08e8ab41083f.tar.bz2 rails-162f7c1edcc45074aca482b4688a08e8ab41083f.zip |
Merge pull request #9125 from neerajdotname/master
class_eval should use __FILE__ and __LINE__
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/connection_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/connection_test.rb b/activerecord/test/cases/adapters/postgresql/connection_test.rb index fa8f339f00..c03660957e 100644 --- a/activerecord/test/cases/adapters/postgresql/connection_test.rb +++ b/activerecord/test/cases/adapters/postgresql/connection_test.rb @@ -108,7 +108,7 @@ module ActiveRecord @connection.verify! new_connection_pid = @connection.query('select pg_backend_pid()') ensure - raw_connection_class.class_eval <<-CODE + raw_connection_class.class_eval <<-CODE, __FILE__, __LINE__ + 1 alias query query_unfake undef query_fake CODE |