New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Route issue #4585
Milestone
Comments
+1 I have the following routes.
The first three work, the last one does not. I do not have an appended string like jan267. |
Hey guys, can you provide a test case to Rails test suite? You can find many route tests here: https://github.com/rails/rails/blob/master/actionpack/test/dispatch/routing_test.rb You just need to add your own. |
rafaelfranca
added a commit
to rafaelfranca/omg-rails
that referenced
this issue
Jan 23, 2012
rafaelfranca
added a commit
to rafaelfranca/omg-rails
that referenced
this issue
Jan 23, 2012
Yeah, sure! test "should route to song" do
assert_routing '/katy-perry/the-one-that-got-away-lyrics', { :controller => "songs", :action => "show", :artist => "katy-perry", :song => "the-one-that-got-away" }
end test result:
Thanks! |
bronzle
pushed a commit
to bronzle/rails
that referenced
this issue
Jan 24, 2012
symbol nodes. Fixes rails#4585
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've just update my env to rails 3.2.0.
With rails 3.1.3 I had this route: 'get ":artist/:song-lyrics" => "songs#show"', and in my controller I got 2 params: artist and song; but now it doesn't work anymore!
If I remove "-lyrics" it does.
thanks!
The text was updated successfully, but these errors were encountered: