Flowdock
method

instantiate_time_object

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: MultiparameterAttribute

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

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_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
Register or log in to add new notes.