1 2 3 4 5 6 7 8 9 10
module Arel module Attributes class String < Attribute def type_cast(value) return unless value value.to_s end end end end