Model and Controller's naming rule for irregular noun in Rails -


how should name controller if belonging model name irregular noun?

for example, if model name "child" name should use? "children" or "childs"?

for irregular language occurrences can have @ https://github.com/rails/rails/blob/4-0-0/activesupport/lib/active_support/inflections.rb

as can see child become children.


Comments

Popular posts from this blog

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -

blackberry 10 - how to add multiple markers on the google map just by url? -