hi, i have added a few methods to the String class and im unsure where in my rails app to put them. Any ideas? Thanks, Chris -- Posted via http://www.ruby-forum.com/.
Chris wrote:> hi, i have added a few methods to the String class and im unsure where > in my rails app to put them. Any ideas? > > Thanks, > ChrisThe lib directory should work fine. If your file is string_methods.rb, put this in your environment.rb: require "lib/string_methods" --josh http://blog.hasmanythrough.com -- Posted via http://www.ruby-forum.com/.