method
type_cast
type_cast(value)
public
Hide source
# File activerecord/lib/active_record/type/binary.rb, line 12 def type_cast(value) if value.is_a?(Data) value.to_s else super end end