Please sign in to comment.
`@request.request_parameters` blows up if there is no env["rack.input…
…"] as of rack-1.1.0. I'm assuming that since request_parameters is an alias (in actionpack) for rack's POST, we can safely assume that link_to_canvas? is false if we're not handling a POST request. This solves the blowing up problem when cucumber step definitions try to generate URLs (Rails 2.3.8 + Rack 1.0.0 + Facebooker + Cucumber + Capybara).
- Loading branch information...
Showing with 1 addition and 1 deletion.