123456789_123456789_123456789_123456789_123456789_

Class: ActiveRecord::ConnectionAdapters::Column

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
ActiveRecord::ConnectionAdapters::PostgreSQLColumn, ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter::Column
Inherits: Object
Defined in: activerecord/lib/active_record/connection_adapters/column.rb

Overview

An abstract definition of a column in a table.

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#accessor (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#klass (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#limit (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#precision (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#scale (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#type (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#type_cast_for_database (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#type_cast_for_schema (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#type_cast_from_database (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#type_cast_from_user (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

Instance Method Details

#binary?Boolean

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#changed?Boolean

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#number?Boolean

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type

#text?Boolean

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 18

delegate :type, :precision, :scale, :limit, :klass, :accessor,
  :text?, :number?, :binary?, :changed?,
  :type_cast_from_user, :type_cast_from_database, :type_cast_for_database,
  :type_cast_for_schema,
  to: :cast_type