Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp

Inherits:
DateTime show all
Defined in:
activerecord/lib/active_record/connection_adapters/postgresql/oid/timestamp.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from ActiveModel::Type::Value

#limit, #precision, #scale

Instance Method Summary collapse

Methods inherited from DateTime

#cast_value, #type_cast_for_schema

Methods included from Type::Internal::Timezone

#default_timezone, #initialize, #is_utc?

Methods included from ActiveModel::Type::Helpers::TimeValue

#apply_seconds_precision, #serialize_cast_value, #type_cast_for_schema, #user_input_in_time_zone

Methods included from ActiveModel::Type::Helpers::Timezone

#default_timezone, #is_utc?

Methods inherited from ActiveModel::Type::Value

#==, #as_json, #assert_valid_value, #binary?, #cast, #changed?, #changed_in_place?, #deserialize, #force_equality?, #hash, #immutable_value, #initialize, #map, #serializable?, #serialize, #type_cast_for_schema, #value_constructed_by_mass_assignment?

Instance Method Details

#typeObject



8
9
10
# File 'activerecord/lib/active_record/connection_adapters/postgresql/oid/timestamp.rb', line 8

def type
  real_type_unless_aliased(:timestamp)
end