[Rails] Why was overwrite_params deprecated in Rails 3?

2010-05-27 Thread Ryan Michael
As far as I can tell there's no 'preferred' way to do this instead of using overwrite_params and this is extrememly usefuly in situations where it's hard to know exactly which parameters will be set in a view (for instance filtering a few of multiple options using query string params). -- You rec

[Rails] Re: Does Rails 3 eliminate URL helpers for 'show'???

2010-05-26 Thread Ryan Michael
The documentation for ActionController::UrlFor says the helper routes are *supposed* to be made, and I can still generate the routes using ActionController::PolymorphicRoutes#polymorphic_url - I'm thinking this is a bug??? On May 26, 12:48 pm, Ryan Michael wrote: > I don't seem to h

[Rails] Does Rails 3 eliminate URL helpers for 'show'???

2010-05-26 Thread Ryan Michael
I don't seem to have the usual *_url, *_path helpers for the show, update, or destroy actions on resourced routes. If I make a new rails app and add a route resources :random, I get url helpers for new, edit, index, etc - but not for the helpers that require passing a model instance. Has this bee