class ActiveModel::Type::String
:nodoc:
def cast_value(value)
def cast_value(value) case value when ::String then ::String.new(value) when true then "t".freeze when false then "f".freeze else value.to_s end end
def changed_in_place?(raw_old_value, new_value)
def changed_in_place?(raw_old_value, new_value) if new_value.is_a?(::String) raw_old_value != new_value end end