Class: ActiveRecord::ConnectionAdapters::NullColumn

Inherits:
Column
  • Object
show all
Defined in:
activerecord/lib/active_record/connection_adapters/column.rb

Instance Attribute Summary

Attributes inherited from Column

#collation, #comment, #default, #default_function, #name, #null, #sql_type_metadata

Instance Method Summary collapse

Methods inherited from Column

#==, #bigint?, #encode_with, #has_default?, #hash, #human_name, #init_with, #virtual?

Methods included from Deduplicable

#deduplicate

Methods included from ActiveSupport::Concern

#append_features, #class_methods, extended, #included, #prepend_features, #prepended

Constructor Details

#initialize(name) ⇒ NullColumn

Returns a new instance of NullColumn.



107
108
109
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 107

def initialize(name, **)
  super(name, nil)
end