oo00oo
2006-Feb-08 18:02 UTC
How to call a basic function ( like url_for ) from a class inside the /lib folder ?
Hello, I try to use url_for from a class inside the lib folder class Test def self.mytest options url = url_for( options ) end end But I have this error : undefined method `url_for'' for Test:Class How can I use it ? Thanks _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails