I have a group of methods that I use across numerous controllers. I
want to put the methods in their own file and call them in from the
controllers. My (limited) understanding is that modules are the
solution to this problem. The methods could be considered class
methods. For example, there is a method that accepts a string and
returns the count of each character (a, b, c, etc).
What is the best way to make these methods available to all the
controllers that might want to use them? In Objective-C (my other
exposure to MVC) I would create a class of the methods, include it and
call the class methods. What is the corresponding approach in RoR?