First, I hope everyone has a happy new year and a fun productive
programming year in 2011 with Rails!
I've been working extensively with the Rails::Engine in 3.0.3 and
decided that it was better to move to edge rails since some of the
design, especially routing, was becoming depracated in 3.1.
My 3.0.3 rails engine works fine. My 3.1 engine is still much of a
mystery until I can figure out how some of the endpoints are working.
I've been looking over:
.. and from what I can gather, if you do not set up an endpoint to a
rack application, the default routing under your_engine/config/routes.rb
becomes an endpoint.
Normally in my engine routes I would define the routes by using:
Rails::Application.routes draw do
but in the documentation it states that I should be able to do:
When I require the gem to my new engine using the older way, all of the
engine routes show up fine. When I require the gem to my new engine
using the newer way, zero routes show up. I've tried to read up more on
the way this endpoint is working, but I'm not getting as far as I'd
I could use some help and perhaps even some quality resources/links to
the edge rails way of creating engines, especially where routing is