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
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
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
3 matches
Mail list logo