AS guide: shortens a sentence

This commit is contained in:
Xavier Noria
2010-02-28 22:32:00 +01:00
parent 68dd44cc62
commit 947511e50e

View File

@@ -1261,7 +1261,7 @@ The method +pluralize+ returns the plural of its receiver:
"equipment".pluralize # => "equipment"
</ruby>
As the previous example shows, Active Support knows some irregular plurals and a few uncountable nouns. Builtin rules can be extended in +config/initializers/inflections.rb+. That file is generated by the +rails+ command and has instructions in comments.
As the previous example shows, Active Support knows some irregular plurals and uncountable nouns. Builtin rules can be extended in +config/initializers/inflections.rb+. That file is generated by the +rails+ command and has instructions in comments.
NOTE: Defined in +active_support/core_ext/string/inflections.rb+.