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, #table_name

Instance Method Summary collapse

Methods inherited from Column

#==, #bigint?, #has_default?, #hash, #human_name

Constructor Details

#initialize(name) ⇒ NullColumn

Returns a new instance of NullColumn.


61
62
63
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 61

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