search for: franchise_

Displaying 1 result from an estimated 1 matches for "franchise_".

Did you mean: franchise
2007 Aug 25
4
REST routes :has_many , new style
I am trying to write a nested route ''new style'' map.resources :franchises, :has_many => :documents in place of the : map.resources :franchises do |franchises| franchises.resources :documents, :name_prefix => "franchise_" end but get an error : no route found to match "/franchises/1/documents" with {:method=>:get} running rake routes, cannot see it... what could be the problem with my Rail install ? thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-----...