This project is archived and is in readonly mode.

#6126 ✓invalid
Alexey Poimtsev

path helper problem

Reported by Alexey Poimtsev | December 7th, 2010 @ 09:01 PM

Hi,
i'm expecting some problem with path helpers. Let me explain. I have some resource "issues" in my routes and would like to use helper with parameter issue_path("something"). Everything works fine if parameter does not contain dot(.) symbol, but for issue_path("some.thing") it will cause error like

ActionController::RoutingError in Issues#index

Showing /Users/alec/Documents/Projects/prj/app/views/issues/_issue.html.haml where line #30 raised:

No route matches {:controller=>"issues", :id=>"some.thing", :action=>"show"}

Comments and changes to this ticket

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