title: Updating to Rails 3.2.2: How to properly move my plugin from the '/vendor' to '/lib' directory?
body: <p>I am upgrading Ruby on Rails from 3.1 to <strong>3.2.2</strong> and I would like to know what I should make and at what I should be care in order to properly move my vendor plugin (<em>note</em>: it is not a gem and at this time I am not planning to make that a gem) from the directory <code>/vendor</code> to <code>/lib</code> as well as wrote in the <a href="http://guides.rubyonrails.org/3_2_release_notes.html#what-to-update-in-your-apps" rel="noreferrer">official documentation</a>:</p>
  
  <blockquote>
    <p>Rails 3.2 deprecates vendor/plugins and Rails 4.0 will remove them completely. You can start replacing these plugins by extracting them as gems and adding them in your Gemfile. If you choose not to make them gems, you can move them into, say, lib/my_plugin/* and add an appropriate initializer in config/initializers/my_plugin.rb.</p>
  </blockquote>
  
  <p>I refer mostly to the "an appropriate initializer in config/initializers/my_plugin.rb": <strong>What code should I put in that file?</strong></p>
  
  <p><em>More</em>: Do you have some advice or alert on making the above process?</p>