rails/rails — Issue #4447: Missing params to url helpers doesn't generate error
Author: pixeltrix
Created: 2012-01-13 11:01:50+00:00
State: open

Given this set of routes:

``` ruby
Testapp::Application.routes.draw do
resources :products
end
```

then there's a discrepancy between 3.1 and 3.2 when you have missing params for url helpers, e.g:

```
Loading development environment (Rails 3.1.3)
>> app.product_path
ActionController::RoutingError: No route matches {:action=>"show", :controller=>"products"}

Loading development environment (Rails 3.2.0.rc2)
>> app.product_path
=> "/products"
```

Not sure whether this is important or not.

/cc @tenderlove