I’m struggling to understand how named_url helpers translate hashes
into parameters.
I’m using RESTful routes, so I have helpers like:
trackables_url
trackable_url
new_trackable_url
If I pass options to trackables_url it translates them into URL
parameters, but the same options don’t work with the single model
version of the helper.
Example, this creates a url with show_time parameters tacked on:
trackables_url :show_time => 1
but this raises an error:
trackable_url @trackable, :show_time => 1
Ryan