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.

This project is archived and is in readonly mode.

Small bug in message for routing error when named route generation fails

#3295

The error message incorrectly (and confusingly) says:

... content_url has the following required parameters....

when it should be

... my_particular_named_route_url has the following required parameters....

Reported by Darragh Curran · September 28th, 2009 @ 04:18 PM

State: stale
Milestone: 2.3.9
Assigned to: Andrew White Andrew White
Importance: Low

Activity

  1. Andrew White
    Andrew White
    • Assigned user set to Andrew White
    • Milestone set to 2.3.9
    • State changed from new to stale
    • Importance changed from to Low

    This error message isn't present in Rails 3, however it is still in 2-3-stable but your change will break a test. Please submit an updated patch for 2.3 which corrects the failing test case.

    July 4th, 2010 @ 08:45 AM

  2. Darragh Curran
    Darragh Curran

    Nice one for getting around to this. I checked out 2-3-stable. I get one failing test 'test_absolute_pathed_layout_without_layouts_in_path' before and after applying the diff.

    You sure this patch breaks a test? Which one? Let me know and I'll sort it out. Should be a quick fix.

    Cheers,
    Darragh

    July 4th, 2010 @ 04:13 PM