Nested resources on shared host w/rails 1.2.3

Hello I am currently trying to deploy a rails app to a shared host
running rails 1.2.3 with apache and cgi (no fcgi access). The hosting
service is icdsoft. I made a demo rails app and imported my files where
needed appropriately and imported my bootstrapped database. Whenever I
call a nested resource path it causes an error where it seems it thinks
the resource path is a method and not a url. Here is the error is
throws me

NoMethodError in Store#index

Showing app/views/products/_products_thumbs.rhtml where line #3 raised:

undefined method `section_product_path’ for
Extracted source (around line #3):


2: <% if photo = Photo.find_by_id(products_thumbs.photo_id) %>
3: <%= link_to(image_tag(photo.public_filename(:small)),
section_product_path(products_thumbs.section, products_thumbs.type,
products_thumbs.brand, products_thumbs)) %>
4: <% else %>
5: <%=
section_product_path(products_thumbs.section, products_thumbs.type,
products_thumbs.brand, products_thumbs)) %>
6: <% end %>
Trace of template inclusion: /app/views/store/index.rhtml

RAILS_ROOT: …/config/…

Application Trace | Framework Trace | Full Trace
_run_rhtml_47app47views47products47_products_thumbs46rhtml' #{RAILS_ROOT}/app/views/store/index.rhtml:12:in_run_rhtml_47app47views47store47index46rhtml’
#{RAILS_ROOT}/app/controllers/store_controller.rb:9:in index' #{RAILS_ROOT}/app/controllers/store_controller.rb:9:inindex’

Parameters: None

Show session dump


Headers: {“cookie”=>[], “Content-Type”=>“text/html”,

and here is my nested resource in question

map.resources :sections, :member => { :higher => :put, :lower => :put
}, :path_prefix => ‘catalog’ do |sections|
sections.resources :types, :path_prefix => ‘catalog/:section’
sections.resources :brands, :path_prefix => ‘catalog/:section’
sections.resources :products, :path_prefix =>

Any help would be greatly appreciated.

Further investigation makes me think there might be a problem with my
to_param action in my product model which is

def to_param

which I use to create clean urls, I use this function on many of my