Class: ActiveRecord::ConnectionAdapters::NullColumn
Do not use. This class is for internal use only.
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Column
|
|
|
Instance Chain:
self,
Column,
Deduplicable
|
|
| Inherits: |
ActiveRecord::ConnectionAdapters::Column
|
| Defined in: | activerecord/lib/active_record/connection_adapters/column.rb |
Class Method Summary
Instance Attribute Summary
Column - Inherited
| #limit, #precision, #scale, #sql_type, #type, | |
| #auto_incremented_by_db? | whether the column is auto-populated by the database using a sequence. |
| #auto_populated?, #bigint?, #collation, #comment, #default, #default_function, #has_default?, #name, #null, #sql_type_metadata, #virtual?, #cast_type | |
Instance Method Summary
Column - Inherited
| #==, #encode_with, | |
| #eql? | Alias for Column#==. |
| #fetch_cast_type, #hash, | |
| #human_name | Returns the human name of the column name. |
| #init_with, #deduplicated | |
Deduplicable - Included
| #-@ | Alias for Deduplicable#deduplicate. |
| #deduplicate, #deduplicated | |
Constructor Details
.new(name) ⇒ NullColumn
# File 'activerecord/lib/active_record/connection_adapters/column.rb', line 129
def initialize(name, **) super(name, nil, nil) end