Skip to content

Instantly share code, notes, and snippets.

@stas
Created January 9, 2013 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stas/4495746 to your computer and use it in GitHub Desktop.
Save stas/4495746 to your computer and use it in GitHub Desktop.
3.2.11 routing spec debugged
pry(#<RSpec::Core::ExampleGroup::Nested_14::Nested_1>)> @routes.router
=> #<Journey::Router:0xa4e6150
@options=
{:parameters_key=>"action_dispatch.request.path_parameters",
:request_class=>ActionDispatch::Request},
@params_key="action_dispatch.request.path_parameters",
@request_class=ActionDispatch::Request,
@routes=
#<Journey::Routes:0xa4e61b4
@ast=
/signup(.:format)|/login(.:format)|/logout(.:format)|/signup(.:format)|/login(.:format)|/start(.:format)|/start(.:format)|/sessions(.:format)|/sessions/new(.:format)|/sessions/:id(.:format)|/passwords(.:form
@named_routes=
{"signup"=>
#<Journey::Route:0xa6d40c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment