views:

1374

answers:

3

I looked in the Rails docs under inflector and found this message...

Module deprecated

This module is deprecated on the latest stable version of Rails. The last existing version (v2.1.0) is shown here.

There was no explanation or reference to any further detail.

I recalled seeing a Rails Trac website. I hunted that down and found that it too is deprecated. It referred me to Lighthouse.

I found some info there -- the Rails core team is not accepting patches for inflections.rb. But it didn't really explain the deprecation message. What is the story behind that?

+4  A: 

You might take a look at this post for an explanation.

Joe Soul-bringer
+4  A: 
John Topley
I was looking at this: http://apidock.com/rails/Inflector
Ethan
+2  A: 

Two separate issues at play. Inflections won't be patched to correct errors to protect legacy uses of incorrect inflections but more importantly inflections was moved into ActiveSupport as of 2.2.1

see 2.2.1 here versus pre 2.2.1 here

srboisvert