Learning English from pluralization of Rails

Posted by Shugo Maeda Tue, 15 Nov 2005 14:50:00 GMT

I learned that the plural form of "status" is "status" on Rails 0.13. But when I upgraded to Rails 0.14, it turns out that the plural form of "status" is "statuses". Then I put these ugly lines to config/environment.rb:(

Inflector.inflections do |inflect|
  inflect.plural /status$/i, 'status'
  inflect.singular /status$/i, 'status'
end

Please take care if you're not a native English speaker. Hereafter, I'll lookup a dictionary before name tables....

Leave a comment, View comments, View trackbacks

Your Comments.

Leave your own response

Other posts about this post.

This post has been discussed on the following web sites / blogs. If you wish to trackback to this post please use the following trackback address: http://blog.shugo.net/articles/trackback/14

Spread the word.

Shugo's Blog supports RSS (Real Simple Syndication), and Trackbacks from other blogs.

RSS feed for this post Trackback URI

Your Reply

Comment Form.

Fields denoted with a "*" are required.

You may also like to leave your email or website.