projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
End chapter 7, with suggested extensions
[depot.git]
/
config
/
initializers
/
inflections.rb
diff --git
a/config/initializers/inflections.rb
b/config/initializers/inflections.rb
index 09158b865ce15cc92ee0c5f54ddd6ce9612ff39e..d531b8bb8258b0f75e5b7c367b1988233e28c724 100644
(file)
--- a/
config/initializers/inflections.rb
+++ b/
config/initializers/inflections.rb
@@
-2,7
+2,7
@@
# Add new inflection rules using the following format
# (all these examples are active by default):
# Add new inflection rules using the following format
# (all these examples are active by default):
-# Inflector.inflections do |inflect|
+#
ActiveSupport::
Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1en'
# inflect.singular /^(ox)en/i, '\1'
# inflect.irregular 'person', 'people'
# inflect.plural /^(ox)$/i, '\1en'
# inflect.singular /^(ox)en/i, '\1'
# inflect.irregular 'person', 'people'