Comments on: Changing human attribute labels in Rails validation messages http://fatvegan.com/2008/05/13/changing-human-attribute-labels-in-rails-validation-messages/ Thu, 11 Mar 2010 01:34:52 +0000 http://wordpress.org/?v=2.9.1 hourly 1 By: Ryan http://fatvegan.com/2008/05/13/changing-human-attribute-labels-in-rails-validation-messages/comment-page-1/#comment-3913 Ryan Mon, 24 Nov 2008 22:23:57 +0000 http://fatvegan.com/2008/05/13/changing-human-attribute-labels-in-rails-validation-messages/#comment-3913 <p>I'm glad you found it useful. I never got elite enough to start writing plugins.</p> I’m glad you found it useful. I never got elite enough to start writing plugins.

]]>
By: James Chan http://fatvegan.com/2008/05/13/changing-human-attribute-labels-in-rails-validation-messages/comment-page-1/#comment-3912 James Chan Mon, 24 Nov 2008 13:43:39 +0000 http://fatvegan.com/2008/05/13/changing-human-attribute-labels-in-rails-validation-messages/#comment-3912 <p>Now with Rails 2.2's I18N, we could do this in a more elegant way. Apps of old Rails version do still need this though. So I bundle your code to a plugin, hosted at github: <a href="http://github.com/ashchan/humanize_attributes/tree/master" rel="nofollow">http://github.com/ashchan/humanize_attributes/tree/master</a></p> Now with Rails 2.2’s I18N, we could do this in a more elegant way. Apps of old Rails version do still need this though. So I bundle your code to a plugin, hosted at github: http://github.com/ashchan/humanize_attributes/tree/master

]]>
By: Rails I18N: ActiveRecord Model Human Name Made Easy @ 知易行难 http://fatvegan.com/2008/05/13/changing-human-attribute-labels-in-rails-validation-messages/comment-page-1/#comment-3911 Rails I18N: ActiveRecord Model Human Name Made Easy @ 知易行难 Mon, 24 Nov 2008 13:36:28 +0000 http://fatvegan.com/2008/05/13/changing-human-attribute-labels-in-rails-validation-messages/#comment-3911 <p>[...] Changing human attribute labels in Rails validation messages 中介绍的方法来本地化 ActiveRecord [...]</p> [...] Changing human attribute labels in Rails validation messages 中介绍的方法来本地化 ActiveRecord [...]

]]>