instance method
human_name
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v3.0.20Signature
human_name()
Returns the human name of the column name.
Examples
Column.new('sales_stage', ...).human_name # => 'Sales stage'
Source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 103
def human_name
Base.human_attribute_name(@name)
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb line 103
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::Column