search for: d88710b06b66529459bc8c9c625109fc

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

2006 Aug 14
1
Rest, routes, path_prefix and default params
...mean the same thing (both restful routes). When I set up the files as below, I get an error of ''Couldn''t find Company without an ID'' and my log file shows the following .. Processing DepartmentsController#index (for 127.0.0.1 at 2006-08-14 14:00:34) [GET] Session ID: d88710b06b66529459bc8c9c625109fc Parameters: {"action"=>"index", "controller"=>"departments"} How can I use restful routes with default parameters? ***** routes.rb ******* ActionController::Routing::Routes.draw do |map| map.resources :departments, :path_prefix => ''myco...