class Column
Ruby on Rails 2.3.18
Since v2.2.3An abstract definition of a column in a table.
Inherits from
Namespace
Modules
Constants
Attributes
- ActiveRecord::ConnectionAdapters::Column#default
- ActiveRecord::ConnectionAdapters::Column#limit
- ActiveRecord::ConnectionAdapters::Column#name
- ActiveRecord::ConnectionAdapters::Column#null
- ActiveRecord::ConnectionAdapters::Column#precision
- ActiveRecord::ConnectionAdapters::Column#primary
- ActiveRecord::ConnectionAdapters::Column#scale
- ActiveRecord::ConnectionAdapters::Column#sql_type
- ActiveRecord::ConnectionAdapters::Column#type
Methods (defined here)
- # extract_default
- # has_default?
- # human_name
- # klass
- # number?
- # text?
- # type_cast
- # type_cast_code
- self. binary_to_string
- self. fallback_string_to_date
- self. fallback_string_to_time
- self. fast_string_to_date
- self. fast_string_to_time
- self. microseconds
- self. new
- self. new_date
- self. new_time
- self. string_to_binary
- self. string_to_date
- self. string_to_dummy_time
- self. string_to_time
- self. value_to_boolean
- self. value_to_decimal
Private methods
(4)
Implementation detail — not part of the public API.
Methods (inherited)
From Object (37)
- # acts_like?
- # app
- # as_json
- # blank?
- # class_eval
- # create
- # create_fixtures
- # destroy
- # duplicable?
- # edit
- # find_cmd
- # helper
- # html_safe?
- # index
- # instance_exec
- # instance_variable_defined?
- # instance_variable_names
- # message
- # metaclass
- # new_session
- # presence
- # present?
- # reload!
- # returning
- # singleton_class
- # tap
- # to_json
- # to_param
- # to_query
- # try
- # unescape
- # update
- # with_options
- self. blank_slate_method_added
- self. find_hidden_method
- self. lookup_missing_generator
- self. method_added