10 Sep '13, 3am

はー、コレ知らなかったので、出直そう。

Transforms attribute names into a more human format, such as “First name” instead of “first_name”. Person . human_attribute_name (" first_name ") # => "First name" Specify options with additional translating options.

Full article: http://apidock.com/rails/ActiveModel/Translation/human_at...

Tweets