Was "Inflector" moved in Rails 2.0?

Trying to place the following code in my “environment.rb” file is
throwing an “uninitialized constant Inflector (NameError)”.

Did they move where these types of customized rules were supposed to be
declared?

CODE
Inflector.inflections do |inflect|
inflect.uncountable(“media”)
end

Corey M. wrote:

Trying to place the following code in my “environment.rb” file is
throwing an “uninitialized constant Inflector (NameError)”.

Did they move where these types of customized rules were supposed to be
declared?

CODE
Inflector.inflections do |inflect|
inflect.uncountable(“media”)
end

News flash.

They moved it to …/config/initializers/inflections.rb

Thanks anyway.