title: Rails newbie: How to add routes to a rails 3 engine?
body: <p>I'm trying to write my first rails 3 gem - everything works well, except for routes - I can't seem to get them working. It's possible this is a very simple error - as mentioned, it's my first experience with engines. The gem itself is very, very basic - literally just one scaffold</p>
  
  <p>My gem's config/routes file:</p>
  
  <pre><code>class ActionController::Routing::RouteSet
    resources :frogs
  end
  </code></pre>
  
  <p>...And when I try to start the server, I get the following error:</p>
  
  <blockquote>
    <p>/home/john/.rvm/gems/ruby-1.9.2-p0/gems/cancandevise-0.1.0/config/routes.rb:3:in
    <code>&lt;class:RouteSet&gt;': undefined method
    </code>resources' for
    ActionDispatch::Routing::RouteSet:Class
    (NoMethodError)</p>
  </blockquote>
  
  <p>Any suggestions much appreciated. At the present moment, the gem is nothing more than a very basic rails-generated 'frog' scaffold</p>
  
  <p>Cheers,
            - JB</p>