title: Extending a module that extends a class
body: <p>Is there a way to "flatten" nested modules so that all of their methods can be used when extending another class or module?  For example:</p>
  
  <pre><code>class User
    extend UserStats
  end
  
  module UserStats
  
    module Current
      def active
        where('status = "active"')
      end
    end
  
  end
  </code></pre>
  
  <p>I want to be able to extend UserStats (or User) such that the methods in UserStats::Current are available as class methods for User.</p>
  
  <p>I tried "extend Current" in UserStats, but that doesn't seem to work.  Is there any way to do this?</p>