I've been trying to reply to a post, but none of my responses are taking...

http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/cf59e09f98981f27/42caa6a0b45fd271#42caa6a0b45fd271

I've been trying to say this: I responded just a bit ago, but I don't see my response, so hopefully there won't be two responses...

Essentially, Drew, you can map the column to be something else when you call "humanize" on it. Try this:

class Post < ActiveRecord::Base

  HUMANIZED_COLUMNS = {:msg => "Message"}

  def self.human_attribute_name(attribute)     HUMANIZED_COLUMNS[attribute.to_sym] || super   end end

HTH, Richard