class ActiveModel::Type::ImmutableString
:nodoc:
def cast_value(value)
def cast_value(value) result = \ case value when true then "t" when false then "f" else value.to_s end result.freeze end
def serialize(value)
def serialize(value) case value when ::Numeric, ActiveSupport::Duration then value.to_s when true then "t" when false then "f" else super end end
def type
def type :string end