aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-08-15 21:12:32 +0200
committerGitHub <noreply@github.com>2016-08-15 21:12:32 +0200
commita3c2b04f3838d5f581c203fe41cda78cb73071ec (patch)
treed1f2f7e2f5161f72a4747d185e205ff3752c3531 /activerecord
parent72c1122a1780d149ac441fbe773aca2110bc39e7 (diff)
parente8b2e2f41effdc543949e42e301892cb5ff4ee34 (diff)
downloadrails-a3c2b04f3838d5f581c203fe41cda78cb73071ec.tar.gz
rails-a3c2b04f3838d5f581c203fe41cda78cb73071ec.tar.bz2
rails-a3c2b04f3838d5f581c203fe41cda78cb73071ec.zip
Merge pull request #26170 from eugeneius/rm_log_subscriber_odd_ivar
Remove odd ivar from ActiveRecord::LogSubscriber
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/log_subscriber.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/log_subscriber.rb b/activerecord/lib/active_record/log_subscriber.rb
index 20910fbb15..f31931316c 100644
--- a/activerecord/lib/active_record/log_subscriber.rb
+++ b/activerecord/lib/active_record/log_subscriber.rb
@@ -15,11 +15,6 @@ module ActiveRecord
rt
end
- def initialize
- super
- @odd = false
- end
-
def render_bind(attr, type_casted_value)
value = if attr.type.binary? && attr.value
"<#{attr.value_for_database.to_s.bytesize} bytes of binary data>"