This project is archived and is in readonly mode.

#6205 ✓wontfix
Paul McMahon

Routing error in tests with capitalized controller

Reported by Paul McMahon | December 22nd, 2010 @ 06:35 AM

In Rails 3.0.3,

  resource :privacy, :controller => "Privacy"

works fine when accessing the server, but from the functional tests it doesn't work.

  resource :privacy, :controller => "privacy"

works in both cases.

Comments and changes to this ticket

  • Andrew White

    Andrew White February 9th, 2011 @ 04:39 AM

    • State changed from “new” to “wontfix”
    • Importance changed from “” to “Low”

    The convention is to use an underscored name for the controller in your routes.rb file so "Privacy" is incorrectly specified.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages