module ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods

def define_attribute(name, cast_type, **)

:nodoc:
def define_attribute(name, cast_type, **)
  if create_time_zone_conversion_attribute?(name, cast_type)
    cast_type = TimeZoneConverter.new(cast_type)
  end
  super
end