jnicklas/capybara — Issue #538: (rails) `visit` should automatically recognize polymorhic urls
Author: wojtekmach
Created: 2011-11-03 10:09:33+00:00
State: open

Instead of writing:

```ruby
visit post_comment_path(post, comment)
visit root_path
```

we could:

```ruby
visit [post, comment]
visit :root
```
Implementation is rather straightforward.

Any thoughts?