method

define_attribute

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
define_attribute(name, cast_type, **) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb, line 71
        def define_attribute(name, cast_type, **)
          if create_time_zone_conversion_attribute?(name, cast_type)
            cast_type = TimeZoneConverter.new(cast_type)
          end
          super
        end
Register or log in to add new notes.