One thing that have always bothered me about the inflector and this 
pluralize business is that it only work in English. That make rails newbies 
from non-english speaking countries have a harder time learning the 
technology than they should. I know ruby's keywords are already in English, 
and so are method names and so on. But reading a foreing language is 
easier; and so is using already defined names. However, a person who 
doesn't know English very well will not do a good job in naming his own 
variables and models in English. A famous quote from computer science field 
goes: "There are only two hard things in Com­puter Sci­ence: cache 
in­val­i­da­tion and nam­ing things". Imagine naming it in a language you 
aren't proficient.

Perhaps inflection should not be the default. Maybe it should be optional. 
If you want it, then you can load your language's inflection gem, if it's 
available.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/o5UvgWOKiLwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to