I'm using 2.0.2.
If I add a class to ./lib, the class is created and I can access it on
However, if I extend a (core) class using a file in lib, the class
extension does not occur. The methods I want to add do not appear.
If I explicitly load the class, the methods get added. But they are
not done automatically like with other things in lib. Why?
Or, more to the point: What is the correct Rails way to add a method
to a core Ruby class?