method

create_time_zone_conversion_attribute?

rails latest stable - Class: ActiveRecord::AttributeMethods::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

create_time_zone_conversion_attribute?(name, column)
private

No documentation available.

# File activerecord/lib/active_record/attribute_methods.rb, line 141
        def create_time_zone_conversion_attribute?(name, column)
          time_zone_aware_attributes && !skip_time_zone_conversion_for_attributes.include?(name.to_sym) && [:datetime, :timestamp].include?(column.type)
        end