[Newbie] Trying to use Inflections in a non active record class


Sorry if this is too silly to ask. I did RTFM and didn't find anything obvious.

I have a helper class for my controller which needs to singularize words. I need to access methods in the ActiveSupport/CoreExtensions/String/Inflections class. Doing a require 'ActiveSupport/CoreExtensions/String/Inflections' fails.

How do I add this specific class to a helper class which is not an active record?

Any pointers will be appreicated.



Please use the rails-talk list for support and general discussion.

(This is purely a Ruby question - how would you require another source file?)

Best, jeremy