# Caches\_action not generating full parameter route

**URL:** <https://www.ruby-forum.com/t/caches-action-not-generating-full-parameter-route/115509>\
**Category:** Rails\
**Created:** [September 25, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/caches-action-not-generating-full-parameter-route/115509 "2007-09-25T21:46:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tachekent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7993a0/32.png) [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Post date:** [September 25, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/caches-action-not-generating-full-parameter-route/115509/1 "2007-09-25T21:46:07Z")

</div>

Hi there,  
I have a URL like this:  
/artworks/show/4  
I’ve turned on caching in development mode, and my controller says:

caches\_action :index, :list, :show

as well as

def show  
@artwork = @artist.artworks.find(params[:id], :include =\> :tags)  
@tags = @artwork.tags  
end

but for some reason i only ever get the cache file:  
/artworks/show.cache  
with no id parameter

I’m running 1.2.3  
anyone have any ideas?

thanks  
dorian

---

<div class="post-metadata">

**Author:** ![tachekent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7993a0/32.png) [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Post date:** [September 27, 2007, 10:50am UTC](https://www.ruby-forum.com/t/caches-action-not-generating-full-parameter-route/115509/2 "2007-09-27T10:50:39Z")

</div>

ok, I answered that myself.  
I had a route that was biting before the one I was expecting.  
note to self - check routes, regularly.
