123456789_123456789_123456789_123456789_123456789_

Module: ActiveRecord::ConnectionAdapters::MySQL::ColumnMethods

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb

Class Method Summary

::ActiveSupport::Concern - Extended

class_methods

Define class methods from given block.

included

Evaluate given block in context of base class, so that you can write class macros here.

prepended

Evaluate given block in context of base class, so that you can write class macros here.

append_features, prepend_features

Instance Method Summary

DSL Calls

included

[ GitHub ]


45
46
47
48
49
50
51
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 45

included do
  define_column_methods :blob, :tinyblob, :mediumblob, :longblob,
    :tinytext, :mediumtext, :longtext, :unsigned_integer, :unsigned_bigint,
    :unsigned_float, :unsigned_decimal

  deprecate :unsigned_float, :unsigned_decimal, deprecator: ActiveRecord.deprecator
end

Instance Method Details

#blob(*names, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 10

rdoc_method :method: blob

#longblob(*names, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 22

rdoc_method :method: longblob

#longtext(*names, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 34

rdoc_method :method: longtext

#mediumblob(*names, **options)

[ GitHub ]

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

rdoc_method :method: mediumblob

#mediumtext(*names, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 30

rdoc_method :method: mediumtext

#tinyblob(*names, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 14

rdoc_method :method: tinyblob

#tinytext(*names, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 26

rdoc_method :method: tinytext

#unsigned_bigint(*names, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 45

RDoc directive :method: unsigned_bigint

#unsigned_integer(*names, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 38

rdoc_method :method: unsigned_integer