title: Human Attribute Names in Rails 3.x?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2042841/custom-model-attribute-column-name-title-in-ruby-on-rails">Custom model attribute (column name) title in Ruby on Rails</a>  </p>
  </blockquote>
  
  
  
  <p>I've been using this solution in Rails 2.x forever:</p>
  
  <pre><code>   HUMANIZED_ATTRIBUTES = {
      :email =&gt; "E-mail address"
    }
  
    def self.human_attribute_name(attr)
      HUMANIZED_ATTRIBUTES[attr.to_sym] || super
    end
  </code></pre>
  
  <p>but this causes bizarre errors when getting the <code>errors</code> from an ActiveRecord instance. What is the correct way to get nice, human-readable names in Rails 3.x?</p>