rails/rails — Issue #4978: has_one nested_resource route fails to generate proper url in form_for
Author: aviflombaum
Created: 2012-02-09 20:03:48+00:00
State: open

In routes:

```ruby
resources :users do
resource :listing
end

The <%= form_for @user, @listing %> will fail with undefined method user_listings_path

Mentioned over here too http://geekninja.blogspot.com/2008/08/mapresources-hasone-formfor-surprise.html (pre rails 3? really?)

Will look into patching now.