Class: ActiveRecord::ConnectionAdapters::NullColumn
- Defined in:
- 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
-
#initialize(name) ⇒ NullColumn
constructor
A new instance of NullColumn.
Methods inherited from Column
#==, #auto_incremented_by_db?, #auto_populated?, #bigint?, #encode_with, #has_default?, #hash, #human_name, #init_with, #virtual?
Methods included from Deduplicable
Constructor Details
#initialize(name) ⇒ NullColumn
Returns a new instance of NullColumn.
116 117 118 |
# File 'lib/active_record/connection_adapters/column.rb', line 116 def initialize(name, **) super(name, nil) end |