title: Rails "is not a module" error
body: <p>I built a library on "lib" rails directory. The structure of library is something like this:</p>
  
  <pre><code> lib/insurance/broker/fake_broker.rb
  </code></pre>
  
  <p>the class looks like the following example:</p>
  
  <pre><code>module Insurance
    module Broker
      class FakeBroker
        def initialize(user_id, user_secret)
          @user_id = user_id
          @user_secret = user_secret
        end
      end
    end
  end
  </code></pre>
  
  <p>So, in my result_controller I'm doing this:</p>
  
  <pre><code>require 'insurance/broker/fake_broker'
  
   def show
     broker = Insurance::Broker::FakeBroker.new(1234,1234)
   end
  </code></pre>
  
  <p>but Rails is returning this error:</p>
  
  <pre><code>Insurance is not a module
  </code></pre>
  
  <p>What's wrong here?</p>