method

instantiate_time_object

Method deprecated or moved

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

instantiate_time_object(set_values)
private

No documentation available.

# File activerecord/lib/active_record/attribute_assignment.rb, line 143
      def instantiate_time_object(set_values)
        if object.class.send(:create_time_zone_conversion_attribute?, name, cast_type)
          Time.zone.local(*set_values)
        else
          Time.send(object.class.default_timezone, *set_values)
        end
      end