提交 e8b2e2f4 编写于 作者: E Eugene Kenny

Remove odd ivar from ActiveRecord::LogSubscriber

This was used to switch the output colour between log lines, but now the
output colour is based on the type of statement being logged instead.
上级 b6c0bc9c
......@@ -15,11 +15,6 @@ def self.reset_runtime
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>"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册