2010-03-29 22:01:47 +00:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
2010-07-23 20:09:54 +00:00
|
|
|
# Add new inflection rules using the following format
|
2010-03-29 22:01:47 +00:00
|
|
|
# (all these examples are active by default):
|
|
|
|
# ActiveSupport::Inflector.inflections do |inflect|
|
|
|
|
# inflect.plural /^(ox)$/i, '\1en'
|
|
|
|
# inflect.singular /^(ox)en/i, '\1'
|
|
|
|
# inflect.irregular 'person', 'people'
|
|
|
|
# inflect.uncountable %w( fish sheep )
|
|
|
|
# end
|
2010-10-07 00:45:41 +00:00
|
|
|
|
|
|
|
ActiveSupport::Inflector.inflections do |inflect|
|
|
|
|
inflect.irregular 'media', 'media'
|
|
|
|
end
|
|
|
|
|