diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-08-15 21:12:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-15 21:12:32 +0200 |
commit | a3c2b04f3838d5f581c203fe41cda78cb73071ec (patch) | |
tree | d1f2f7e2f5161f72a4747d185e205ff3752c3531 /activerecord | |
parent | 72c1122a1780d149ac441fbe773aca2110bc39e7 (diff) | |
parent | e8b2e2f41effdc543949e42e301892cb5ff4ee34 (diff) | |
download | rails-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.rb | 5 |
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>" |