From 339ad0d0020cf7173ef7debe32f3cbb8809de5ca Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 10 Feb 2011 14:17:09 -0800 Subject: fixing tests on 1.8, using a list of lists because order is important --- activerecord/lib/active_record/log_subscriber.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'activerecord/lib/active_record') diff --git a/activerecord/lib/active_record/log_subscriber.rb b/activerecord/lib/active_record/log_subscriber.rb index 8855798bde..afadbf03ef 100644 --- a/activerecord/lib/active_record/log_subscriber.rb +++ b/activerecord/lib/active_record/log_subscriber.rb @@ -28,7 +28,9 @@ module ActiveRecord binds = nil unless (payload[:binds] || []).empty? - binds = " #{Hash[payload[:binds].map { |col,v| [col.name, v] }]}" + binds = " " + payload[:binds].map { |col,v| + [col.name, v] + }.inspect end if odd? -- cgit v1.2.3