Where do i put an modified String class?

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

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,
Chris

The 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