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

**URL:** <https://www.ruby-forum.com/t/ive-been-trying-to-reply-to-a-post-but-none-of-my-responses-are-taking/176196>\
**Category:** Rails\
**Created:** [September 26, 2009, 3:31am UTC](https://www.ruby-forum.com/t/ive-been-trying-to-reply-to-a-post-but-none-of-my-responses-are-taking/176196 "2009-09-26T03:31:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![richardun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/3ec8ea/32.png) [@richardun](https://www.ruby-forum.com/u/richardun)\
**Post date:** [September 26, 2009, 3:31am UTC](https://www.ruby-forum.com/t/ive-been-trying-to-reply-to-a-post-but-none-of-my-responses-are-taking/176196/1 "2009-09-26T03:31:34Z")

</div>

[http://groups.google.com/group/rubyonrails-talk/browse\_thread/thread/cf59e09f98981f27/42caa6a0b45fd271#42caa6a0b45fd271](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

On Sep 25, 4:49 pm, drewB [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Is there an easy way to customize the display name of the attributed  
> used in a validation error message. For example, let’s say I have an  
> active record with the attribute :msg that is validated for presence.  
> If is doesn’t exist I don’t want the user to see “msg can’t be  
> blank!” I want it to say “Message can’t be blank!” Is there an easy  
> way to do that?

When I respond either through the web interface or in email, it says  
it’s successful (in the browser), but my answers are not listed…  
this was hours ago. Do I need to gain approval before posting  
responses?
