# parameters and named url helpers

**URL:** <https://discuss.rubyonrails.org/t/parameters-and-named-url-helpers/18180>\
**Category:** rubyonrails-talk\
**Created:** [September 15, 2007, 1:52am UTC](https://discuss.rubyonrails.org/t/parameters-and-named-url-helpers/18180 "2007-09-15T01:52:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan5](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@Ryan5](https://discuss.rubyonrails.org/u/Ryan5)\
**Post date:** [September 15, 2007, 1:52am UTC](https://discuss.rubyonrails.org/t/parameters-and-named-url-helpers/18180/1 "2007-09-15T01:52:46Z")

</div>

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
