Flowdock
method

render_bind

Importance_0
render_bind(attribute) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/log_subscriber.rb, line 23
    def render_bind(attribute)
      value = if attribute.type.binary? && attribute.value
        if attribute.value.is_a?(Hash)
          "<#{attribute.value_for_database.to_s.bytesize} bytes of binary data>"
        else
          "<#{attribute.value.bytesize} bytes of binary data>"
        end
      else
        attribute.value_for_database
      end

      [attribute.name, value]
    end
Register or log in to add new notes.