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
Post a Comment