aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorFlorent Guilleux <florent2@gmail.com>2012-12-01 13:22:49 -0500
committerFlorent Guilleux <florent2@gmail.com>2012-12-01 13:22:49 -0500
commit8dc4041a9b2fb0e8bc2bcb72ab93adb8722e62cd (patch)
treed3c21858cb1a7fae8339b4542b200d59dc9ec815 /activerecord/lib
parent90c887fa7d0c454b7533e208daefc342dea4d5f3 (diff)
downloadrails-8dc4041a9b2fb0e8bc2bcb72ab93adb8722e62cd.tar.gz
rails-8dc4041a9b2fb0e8bc2bcb72ab93adb8722e62cd.tar.bz2
rails-8dc4041a9b2fb0e8bc2bcb72ab93adb8722e62cd.zip
Revert "Remove trailing whitespaces"
This reverts commit 90c887fa7d0c454b7533e208daefc342dea4d5f3.
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/log_subscriber.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/log_subscriber.rb b/activerecord/lib/active_record/log_subscriber.rb
index 2b30c31219..ca79950049 100644
--- a/activerecord/lib/active_record/log_subscriber.rb
+++ b/activerecord/lib/active_record/log_subscriber.rb
@@ -1,7 +1,7 @@
module ActiveRecord
class LogSubscriber < ActiveSupport::LogSubscriber
IGNORE_PAYLOAD_NAMES = ["SCHEMA", "EXPLAIN"]
-
+
def self.runtime=(value)
Thread.current[:active_record_sql_runtime] = value
end