title: Where to reopen a class in RoR
body: <p>I'm attempting to reopen the <code>String</code> class in rails and add a bunch more methods for my app to use. Writing the code isn't a problem - my question is rather about where this code should go.</p>
  
  <p>It doesn't make sense to me to reopen a class inside a different model file, because it really has nothing to do with any of the models specifically. I thought perhaps somewhere in <code>config</code> or <code>lib</code> would make sense, but I'm not particularly well versed with RoR yet.</p>
  
  <p>To summarize, where would be the most logical place to define class-modifying code, and are there any implications depending on where/when the code is loaded?</p>