title: changing ruby modules without restarting rails application
body: <p>In my rails application, i have modules which are required and included in the controllers.
  The problem is: i have to restart the application every time i make any changes in these modules.
  Any solutions?</p>
  
  <hr>
  
  <p>Example</p>
  
  <p>included module</p>
  
  <pre><code>#rails_application/lib/services/test.rb
  
  module Services
    module TestService
      def start
        'Service started successfully'
      end
    end
  end
  </code></pre>
  
  <p>controller</p>
  
  <pre><code>#rails_application/app/controllers
  class TestController &lt; ApplicationController
  
    require 'services/test.rb'
    include Services::TestService
  
    def index
     render :text =&gt; start
    end
  
  end
  </code></pre>