This project is archived and is in readonly mode.
active_support/core_ext/string/inflections doesn't load default inflections
-
oliland
+1 here
-
Serg Podtynnyi
+1 for solving this issue
-
Dan Pickett
+1 there should be a consistent and documented mechanism to load default inflections.
I would think that require "active_support/inflector" would be the desired require statement.
That appears to properly load the inflections along with the core string extensions.
-
Dan Pickett
- State changed from new to open
- Milestone set to 3.x
- Assigned user set to Dan Pickett
- Importance changed from to Low
If no one objects, I don't think this is a bug, and I'd like to close this out.
I think the require statement in my comment above is what gem authors should be using.
-
Andrew White
Agreed - 'active_support/inflector' is the correct require.
-
Dan Pickett
- State changed from open to invalid