title: Cannot get nested modules to work
body: <p>I'm trying to make some common scopes for models to be sharing, so i created this:</p>
  
  <pre><code>lib
  |_ scopes
     |_ scope.rb
     |_ bars.rb
  </code></pre>
  
  <hr>
  
  <pre><code># lib/scopes/scope.rb
  module Scope
  end
  </code></pre>
  
  <hr>
  
  <pre><code># lib/scopes/bars.rb
  module Scope
    module Bars
      def self.included(base)
        base.class_eval{
          scope :somescope, lambda{ where(:foo =&gt; :bar) }
        }
      end
    end
  end
  </code></pre>
  
  <p>Now when i put this in a model:</p>
  
  <pre><code>include Scope::Bars
  </code></pre>
  
  <p>It throws an error: <strong>Expected c:/sites/app_name/lib/scopes/bars.rb to define Bars</strong></p>
  
  <p>For some bizarre reason, This doesn't happen when i just use the rails console to test instead of WEBrick server.</p>
  
  <p>Also it perfectly works if i don't use sub-models, Like: <code>include Bars</code> would work just fine.</p>
  
  <p>Any ideas?</p>