Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Rails routes rake task shows /rails/info/properties

#3793

To reproduce the issue you need to create a blank Rails 3 application and run 'rake routes'.

You'll get the following:

  GET    /session(.:format)                 {:controller=>"sessions", :action=>"show"}
  ... SNIPPED ...
  root        /                             {:controller=>"sessions", :action=>"new"}
  /rails/info/properties                    {:controller=>"rails/info", :action=>"properties"}

As mentioned on IRC, /rails/info/properties route should not be there.

Reported by beawesomeinstead · January 27th, 2010 @ 09:28 AM

State: resolved
Milestone: 3.0.2
Assigned to: Pratik Pratik
Importance: none

Activity

  1. Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu)
    • State changed from new to open
    • Tag changed from rails3 routes rake to 3.0, rails3, rake, routes
    • Milestone cleared.

    I think I found the culprit of this problem. It's because Rails 3 explicitly defines the routing to it.

    I'll provide the patch in my next reply.

    January 27th, 2010 @ 10:44 AM

  2. Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu)

    Here's the patch for it. There's no test case, as I can't find a good place to put it, but I have tested it with real application.

    January 27th, 2010 @ 03:50 PM

  3. Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu)
    • Assigned user changed from Prem Sichanugrist (sikachu) to José Valim

    January 30th, 2010 @ 02:09 PM

  4. Repository
  5. José Valim
    José Valim
    • Assigned user changed from José Valim to Pratik

    February 2nd, 2010 @ 09:07 AM

  6. Jeremy Kemper