I am using rails 2.0.2 version and I have a need to add a method to an
existing class and use it in the rails environment. For example, I
would like to add a method to Numeric class, so I coded it as follows
self * Math::PI/180
and then placed it under <my rails app>/lib directory. However I am
not able use this new method in my apps controller, ruby throws no
method found error.
Did I do something wrong?