Skip to content

Commit

Permalink
AS guide: shortens a sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Feb 28, 2010
1 parent 68dd44c commit 947511e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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+.

Expand Down

0 comments on commit 947511e

Please sign in to comment.