The Depot Application

The Depot Application

23.3 Helpers for Formatting, Linking, and Pagination 21 Action Controller: Routing and URLs

21.2 Routing Requests

ls app/controllers/*_controller.rb
app/controllers/admin_controller.rb
app/controllers/application_controller.rb
app/controllers/info_controller.rb
app/controllers/line_items_controller.rb
app/controllers/orders_controller.rb
app/controllers/products_controller.rb
app/controllers/store_controller.rb
app/controllers/users_controller.rb
irb e1/routing/config2/routes_for_depot.rb
>> require "./config/environment.rb"
=> true
 
>> ActionController::Base.session_store = nil
=> nil
>> ActionController::Routing.use_controllers! ["store", "admin", "coupon"]
=> ["store", "admin", "coupon"]
>> load "config/routes.rb"
=> []
>> rs = ActionController::Routing::Routes
=> #<ActionController::Routing::RouteSet:0xb6b8813c @combined_regexp=nil, @routes=[#<ActionController::Routing::Route:0xb70edf28 @to_s="GET    /users(.:format)?                        {:controller=>\"users\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb70ee478 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70ee3d8 @is_optional=false, @value="users">, #<ActionController::Routing::OptionalFormatSegment:0xb70ee338 @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"users"}, @requirements={:controller=>"users", :action=>"index"}>, #<ActionController::Routing::Route:0xb70d345c @to_s="POST   /users(.:format)?                        {:controller=>\"users\", :action=>\"create\"}", @optimise=true, @conditions={:method=>:post}, @action_requirement="create", @defaults={:action=>"create", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb70d395c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70d38bc @is_optional=false, @value="users">, #<ActionController::Routing::OptionalFormatSegment:0xb70d3844 @key=:format, @is_optional=true>], @parameter_shell={:action=>"create", :controller=>"users"}, @requirements={:controller=>"users", :action=>"create"}>, #<ActionController::Routing::Route:0xb70ca974 @to_s="GET    /users/new(.:format)?                    {:controller=>\"users\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb70cb20c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70cb144 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb70cb02c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70caf3c @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb70caec4 @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"users"}, @requirements={:controller=>"users", :action=>"new"}>, #<ActionController::Routing::Route:0xb70a6998 @to_s="GET    /users/:id/edit(.:format)?               {:controller=>\"users\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb70a7384 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70a7258 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb70a71a4 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb70a70f0 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb70a703c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70a6f9c @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb70a6f24 @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"users"}, @requirements={:controller=>"users", :action=>"edit"}>, #<ActionController::Routing::Route:0xb70868f0 @to_s="GET    /users/:id(.:format)?                    {:controller=>\"users\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb70890b4 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb7088e98 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb7088c90 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb7088524 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb7088344 @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"users"}, @requirements={:controller=>"users", :action=>"show"}>, #<ActionController::Routing::Route:0xb7050890 @to_s="PUT    /users/:id(.:format)?                    {:controller=>\"users\", :action=>\"update\"}", @optimise=false, @conditions={:method=>:put}, @action_requirement="update", @defaults={:action=>"update", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb705168c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb705159c @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb7051470 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb70513a8 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb7051330 @key=:format, @is_optional=true>], @parameter_shell={:action=>"update", :controller=>"users"}, @requirements={:controller=>"users", :action=>"update"}>, #<ActionController::Routing::Route:0xb704a198 @to_s="DELETE /users/:id(.:format)?                    {:controller=>\"users\", :action=>\"destroy\"}", @optimise=false, @conditions={:method=>:delete}, @action_requirement="destroy", @defaults={:action=>"destroy", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb704b408 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb704b354 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb704b2a0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb704b200 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb704b070 @key=:format, @is_optional=true>], @parameter_shell={:action=>"destroy", :controller=>"users"}, @requirements={:controller=>"users", :action=>"destroy"}>, #<ActionController::Routing::Route:0xb737b7f4 @to_s="GET    /line_items(.:format)?                   {:controller=>\"line_items\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb737c370 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb737c1cc @is_optional=false, @value="line_items">, #<ActionController::Routing::OptionalFormatSegment:0xb737bfec @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"index"}>, #<ActionController::Routing::Route:0xb735aaf4 @to_s="POST   /line_items(.:format)?                   {:controller=>\"line_items\", :action=>\"create\"}", @optimise=true, @conditions={:method=>:post}, @action_requirement="create", @defaults={:action=>"create", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb735bb20 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb735ba58 @is_optional=false, @value="line_items">, #<ActionController::Routing::OptionalFormatSegment:0xb735b9b8 @key=:format, @is_optional=true>], @parameter_shell={:action=>"create", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"create"}>, #<ActionController::Routing::Route:0xb734efb0 @to_s="GET    /line_items/new(.:format)?               {:controller=>\"line_items\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb734ff78 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb734fe60 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb734fc80 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb734fadc @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb734f9b0 @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"new"}>, #<ActionController::Routing::Route:0xb73188fc @to_s="GET    /line_items/:id/edit(.:format)?          {:controller=>\"line_items\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb732082c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb7320570 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb73204bc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb732041c @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb73201c4 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb73200fc @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb7320084 @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"edit"}>, #<ActionController::Routing::Route:0xb72ff834 @to_s="GET    /line_items/:id(.:format)?               {:controller=>\"line_items\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb73028cc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb7302804 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb73026ec @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb7302610 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb730255c @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"show"}>, #<ActionController::Routing::Route:0xb72e4ebc @to_s="PUT    /line_items/:id(.:format)?               {:controller=>\"line_items\", :action=>\"update\"}", @optimise=false, @conditions={:method=>:put}, @action_requirement="update", @defaults={:action=>"update", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb72e7824 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb72e775c @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb72e73b0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb72e716c @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb72e6dac @key=:format, @is_optional=true>], @parameter_shell={:action=>"update", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"update"}>, #<ActionController::Routing::Route:0xb72d3158 @to_s="DELETE /line_items/:id(.:format)?               {:controller=>\"line_items\", :action=>\"destroy\"}", @optimise=false, @conditions={:method=>:delete}, @action_requirement="destroy", @defaults={:action=>"destroy", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb72d7514 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb72d7104 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb72d6ee8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb72d6d08 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb72d6bdc @key=:format, @is_optional=true>], @parameter_shell={:action=>"destroy", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"destroy"}>, #<ActionController::Routing::Route:0xb72b0d4c @to_s="GET    /orders(.:format)?                       {:controller=>\"orders\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb72b2cc8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb72b2660 @is_optional=false, @value="orders">, #<ActionController::Routing::OptionalFormatSegment:0xb72b2598 @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"index"}>, #<ActionController::Routing::Route:0xb73c4044 @to_s="POST   /orders(.:format)?                       {:controller=>\"orders\", :action=>\"create\"}", @optimise=true, @conditions={:method=>:post}, @action_requirement="create", @defaults={:action=>"create", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb73c52dc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb73c4fd0 @is_optional=false, @value="orders">, #<ActionController::Routing::OptionalFormatSegment:0xb73c4ae4 @key=:format, @is_optional=true>], @parameter_shell={:action=>"create", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"create"}>, #<ActionController::Routing::Route:0xb73b614c @to_s="GET    /orders/new(.:format)?                   {:controller=>\"orders\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb73bc31c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb73bbaac @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb73bb750 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb73bb408 @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb73bb2dc @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"new"}>, #<ActionController::Routing::Route:0xb6a69094 @to_s="GET    /orders/:id/edit(.:format)?              {:controller=>\"orders\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a699e0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a69940 @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb6a6988c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a697ec @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb6a69738 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a69698 @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb6a69620 @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"edit"}>, #<ActionController::Routing::Route:0xb6a63338 @to_s="GET    /orders/:id(.:format)?                   {:controller=>\"orders\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a63ae0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a63a40 @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb6a6398c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a638ec @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a63874 @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"show"}>, #<ActionController::Routing::Route:0xb6a5d6cc @to_s="PUT    /orders/:id(.:format)?                   {:controller=>\"orders\", :action=>\"update\"}", @optimise=false, @conditions={:method=>:put}, @action_requirement="update", @defaults={:action=>"update", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a5de74 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a5ddd4 @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb6a5dd20 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a5dc80 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a5dc08 @key=:format, @is_optional=true>], @parameter_shell={:action=>"update", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"update"}>, #<ActionController::Routing::Route:0xb6a5a558 @to_s="DELETE /orders/:id(.:format)?                   {:controller=>\"orders\", :action=>\"destroy\"}", @optimise=false, @conditions={:method=>:delete}, @action_requirement="destroy", @defaults={:action=>"destroy", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a5ad00 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a5ac60 @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb6a5abac @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a5ab0c @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a5aa94 @key=:format, @is_optional=true>], @parameter_shell={:action=>"destroy", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"destroy"}>, #<ActionController::Routing::Route:0xb6a5713c @to_s="GET    /products(.:format)?                     {:controller=>\"products\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a57614 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a57574 @is_optional=false, @value="products">, #<ActionController::Routing::OptionalFormatSegment:0xb6a574fc @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"products"}, @requirements={:controller=>"products", :action=>"index"}>, #<ActionController::Routing::Route:0xb6a4e334 @to_s="POST   /products(.:format)?                     {:controller=>\"products\", :action=>\"create\"}", @optimise=true, @conditions={:method=>:post}, @action_requirement="create", @defaults={:action=>"create", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a4e80c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a4e76c @is_optional=false, @value="products">, #<ActionController::Routing::OptionalFormatSegment:0xb6a4e6f4 @key=:format, @is_optional=true>], @parameter_shell={:action=>"create", :controller=>"products"}, @requirements={:controller=>"products", :action=>"create"}>, #<ActionController::Routing::Route:0xb6a4be54 @to_s="GET    /products/new(.:format)?                 {:controller=>\"products\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a4c4d0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a4c430 @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb6a4c37c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a4c2dc @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb6a4c264 @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"products"}, @requirements={:controller=>"products", :action=>"new"}>, #<ActionController::Routing::Route:0xb6a42890 @to_s="GET    /products/:id/edit(.:format)?            {:controller=>\"products\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a431dc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a4313c @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb6a43088 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a42fe8 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb6a42f34 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a42e94 @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb6a42e1c @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"products"}, @requirements={:controller=>"products", :action=>"edit"}>, #<ActionController::Routing::Route:0xb6a3cb34 @to_s="GET    /products/:id(.:format)?                 {:controller=>\"products\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a3d2dc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a3d23c @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb6a3d188 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a3d0e8 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a3d070 @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"products"}, @requirements={:controller=>"products", :action=>"show"}>, #<ActionController::Routing::Route:0xb6a36ec8 @to_s="PUT    /products/:id(.:format)?                 {:controller=>\"products\", :action=>\"update\"}", @optimise=false, @conditions={:method=>:put}, @action_requirement="update", @defaults={:action=>"update", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a37670 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a375d0 @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb6a3751c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a3747c @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a37404 @key=:format, @is_optional=true>], @parameter_shell={:action=>"update", :controller=>"products"}, @requirements={:controller=>"products", :action=>"update"}>, #<ActionController::Routing::Route:0xb6a33d54 @to_s="DELETE /products/:id(.:format)?                 {:controller=>\"products\", :action=>\"destroy\"}", @optimise=false, @conditions={:method=>:delete}, @action_requirement="destroy", @defaults={:action=>"destroy", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a344fc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a3445c @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb6a343a8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a34308 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a34290 @key=:format, @is_optional=true>], @parameter_shell={:action=>"destroy", :controller=>"products"}, @requirements={:controller=>"products", :action=>"destroy"}>, #<ActionController::Routing::Route:0xb6a3102c @to_s="ANY    /:controller/:action/:id/                {}", @optimise=false, @conditions={}, @action_requirement=nil, @defaults={:action=>"index"}, @matching_prepared=true, @controller_requirement=nil, @significant_keys=[:controller, :action, :id], @segments=[#<ActionController::Routing::DividerSegment:0xb6a315a4 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::ControllerSegment:0xb6a31504 @key=:controller, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb6a31450 @raw=true, @is_optional=true, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a313b0 @default="index", @key=:action, @is_optional=true>, #<ActionController::Routing::DividerSegment:0xb6a312fc @raw=true, @is_optional=true, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a3125c @key=:id, @is_optional=true>, #<ActionController::Routing::DividerSegment:0xb6a311a8 @raw=true, @is_optional=true, @value="/">], @parameter_shell={}, @requirements={}>, #<ActionController::Routing::Route:0xb6a2c824 @to_s="ANY    /:controller/:action/:id(.:format)?      {}", @optimise=false, @conditions={}, @action_requirement=nil, @defaults={:action=>"index"}, @matching_prepared=true, @controller_requirement=nil, @significant_keys=[:controller, :action, :id, :format], @segments=[#<ActionController::Routing::DividerSegment:0xb6a2cd74 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::ControllerSegment:0xb6a2ccd4 @key=:controller, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb6a2cc20 @raw=true, @is_optional=true, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a2cb80 @default="index", @key=:action, @is_optional=true>, #<ActionController::Routing::DividerSegment:0xb6a2cacc @raw=true, @is_optional=true, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a2ca2c @key=:id, @is_optional=true>, #<ActionController::Routing::OptionalFormatSegment:0xb6a2c9b4 @key=:format, @is_optional=true>], @parameter_shell={}, @requirements={}>, #<ActionController::Routing::Route:0xb6a1cf64 @to_s="GET    /users(.:format)?                        {:controller=>\"users\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a1d43c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a1d39c @is_optional=false, @value="users">, #<ActionController::Routing::OptionalFormatSegment:0xb6a1d324 @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"users"}, @requirements={:controller=>"users", :action=>"index"}>, #<ActionController::Routing::Route:0xb6a1ad18 @to_s="POST   /users(.:format)?                        {:controller=>\"users\", :action=>\"create\"}", @optimise=true, @conditions={:method=>:post}, @action_requirement="create", @defaults={:action=>"create", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a1b1f0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a1b150 @is_optional=false, @value="users">, #<ActionController::Routing::OptionalFormatSegment:0xb6a1b0d8 @key=:format, @is_optional=true>], @parameter_shell={:action=>"create", :controller=>"users"}, @requirements={:controller=>"users", :action=>"create"}>, #<ActionController::Routing::Route:0xb6a1884c @to_s="GET    /users/new(.:format)?                    {:controller=>\"users\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a18ec8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a18e28 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb6a18d74 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a18cd4 @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb6a18c5c @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"users"}, @requirements={:controller=>"users", :action=>"new"}>, #<ActionController::Routing::Route:0xb6a15ef8 @to_s="GET    /users/:id/edit(.:format)?               {:controller=>\"users\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a16844 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a167a4 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb6a166f0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a16650 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb6a1659c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a164fc @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb6a16484 @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"users"}, @requirements={:controller=>"users", :action=>"edit"}>, #<ActionController::Routing::Route:0xb6a12cbc @to_s="GET    /users/:id(.:format)?                    {:controller=>\"users\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a13464 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a133c4 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb6a13310 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a13270 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a131f8 @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"users"}, @requirements={:controller=>"users", :action=>"show"}>, #<ActionController::Routing::Route:0xb6a0fb5c @to_s="PUT    /users/:id(.:format)?                    {:controller=>\"users\", :action=>\"update\"}", @optimise=false, @conditions={:method=>:put}, @action_requirement="update", @defaults={:action=>"update", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a10304 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a10264 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb6a101b0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a10110 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a10098 @key=:format, @is_optional=true>], @parameter_shell={:action=>"update", :controller=>"users"}, @requirements={:controller=>"users", :action=>"update"}>, #<ActionController::Routing::Route:0xb6a0c9e8 @to_s="DELETE /users/:id(.:format)?                    {:controller=>\"users\", :action=>\"destroy\"}", @optimise=false, @conditions={:method=>:delete}, @action_requirement="destroy", @defaults={:action=>"destroy", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a0d190 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a0d0f0 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb6a0d03c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a0cf9c @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a0cf24 @key=:format, @is_optional=true>], @parameter_shell={:action=>"destroy", :controller=>"users"}, @requirements={:controller=>"users", :action=>"destroy"}>, #<ActionController::Routing::Route:0xb6a095e0 @to_s="GET    /line_items(.:format)?                   {:controller=>\"line_items\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a09ab8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a09a18 @is_optional=false, @value="line_items">, #<ActionController::Routing::OptionalFormatSegment:0xb6a099a0 @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"index"}>, #<ActionController::Routing::Route:0xb6a07394 @to_s="POST   /line_items(.:format)?                   {:controller=>\"line_items\", :action=>\"create\"}", @optimise=true, @conditions={:method=>:post}, @action_requirement="create", @defaults={:action=>"create", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a0786c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a077cc @is_optional=false, @value="line_items">, #<ActionController::Routing::OptionalFormatSegment:0xb6a07754 @key=:format, @is_optional=true>], @parameter_shell={:action=>"create", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"create"}>, #<ActionController::Routing::Route:0xb6a04ec8 @to_s="GET    /line_items/new(.:format)?               {:controller=>\"line_items\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a05544 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a054a4 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb6a053f0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a05350 @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb6a052d8 @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"new"}>, #<ActionController::Routing::Route:0xb6a02574 @to_s="GET    /line_items/:id/edit(.:format)?          {:controller=>\"line_items\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a02ec0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a02e20 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb6a02d6c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a02ccc @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb6a02c18 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a02b78 @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb6a02b00 @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"edit"}>, #<ActionController::Routing::Route:0xb69ff338 @to_s="GET    /line_items/:id(.:format)?               {:controller=>\"line_items\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69ffae0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69ffa40 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb69ff98c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69ff8ec @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb69ff874 @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"show"}>, #<ActionController::Routing::Route:0xb69fc1d8 @to_s="PUT    /line_items/:id(.:format)?               {:controller=>\"line_items\", :action=>\"update\"}", @optimise=false, @conditions={:method=>:put}, @action_requirement="update", @defaults={:action=>"update", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69fc980 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69fc8e0 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb69fc82c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69fc78c @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb69fc714 @key=:format, @is_optional=true>], @parameter_shell={:action=>"update", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"update"}>, #<ActionController::Routing::Route:0xb69f9064 @to_s="DELETE /line_items/:id(.:format)?               {:controller=>\"line_items\", :action=>\"destroy\"}", @optimise=false, @conditions={:method=>:delete}, @action_requirement="destroy", @defaults={:action=>"destroy", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69f980c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69f976c @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb69f96b8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69f9618 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb69f95a0 @key=:format, @is_optional=true>], @parameter_shell={:action=>"destroy", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"destroy"}>, #<ActionController::Routing::Route:0xb69f5c5c @to_s="GET    /orders(.:format)?                       {:controller=>\"orders\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69f6134 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69f6094 @is_optional=false, @value="orders">, #<ActionController::Routing::OptionalFormatSegment:0xb69f601c @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"index"}>, #<ActionController::Routing::Route:0xb69f3a10 @to_s="POST   /orders(.:format)?                       {:controller=>\"orders\", :action=>\"create\"}", @optimise=true, @conditions={:method=>:post}, @action_requirement="create", @defaults={:action=>"create", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69f3ee8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69f3e48 @is_optional=false, @value="orders">, #<ActionController::Routing::OptionalFormatSegment:0xb69f3dd0 @key=:format, @is_optional=true>], @parameter_shell={:action=>"create", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"create"}>, #<ActionController::Routing::Route:0xb69f1544 @to_s="GET    /orders/new(.:format)?                   {:controller=>\"orders\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69f1bc0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69f1b20 @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb69f1a6c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69f19cc @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb69f1954 @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"new"}>, #<ActionController::Routing::Route:0xb69eebf0 @to_s="GET    /orders/:id/edit(.:format)?              {:controller=>\"orders\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69ef53c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69ef49c @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb69ef3e8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69ef348 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb69ef294 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69ef1f4 @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb69ef17c @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"edit"}>, #<ActionController::Routing::Route:0xb69eb9b4 @to_s="GET    /orders/:id(.:format)?                   {:controller=>\"orders\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69ec15c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69ec0bc @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb69ec008 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69ebf68 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb69ebef0 @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"show"}>, #<ActionController::Routing::Route:0xb69e8854 @to_s="PUT    /orders/:id(.:format)?                   {:controller=>\"orders\", :action=>\"update\"}", @optimise=false, @conditions={:method=>:put}, @action_requirement="update", @defaults={:action=>"update", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69e8ffc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69e8f5c @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb69e8ea8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69e8e08 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb69e8d90 @key=:format, @is_optional=true>], @parameter_shell={:action=>"update", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"update"}>, #<ActionController::Routing::Route:0xb69e56e0 @to_s="DELETE /orders/:id(.:format)?                   {:controller=>\"orders\", :action=>\"destroy\"}", @optimise=false, @conditions={:method=>:delete}, @action_requirement="destroy", @defaults={:action=>"destroy", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69e5e88 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69e5de8 @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb69e5d34 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69e5c94 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb69e5c1c @key=:format, @is_optional=true>], @parameter_shell={:action=>"destroy", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"destroy"}>, #<ActionController::Routing::Route:0xb69e22d8 @to_s="GET    /products(.:format)?                     {:controller=>\"products\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69e27b0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69e2710 @is_optional=false, @value="products">, #<ActionController::Routing::OptionalFormatSegment:0xb69e2698 @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"products"}, @requirements={:controller=>"products", :action=>"index"}>, #<ActionController::Routing::Route:0xb69e008c @to_s="POST   /products(.:format)?                     {:controller=>\"products\", :action=>\"create\"}", @optimise=true, @conditions={:method=>:post}, @action_requirement="create", @defaults={:action=>"create", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69e0564 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69e04c4 @is_optional=false, @value="products">, #<ActionController::Routing::OptionalFormatSegment:0xb69e044c @key=:format, @is_optional=true>], @parameter_shell={:action=>"create", :controller=>"products"}, @requirements={:controller=>"products", :action=>"create"}>, #<ActionController::Routing::Route:0xb69ddbc0 @to_s="GET    /products/new(.:format)?                 {:controller=>\"products\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69de23c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69de19c @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb69de0e8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69de048 @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb69ddfd0 @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"products"}, @requirements={:controller=>"products", :action=>"new"}>, #<ActionController::Routing::Route:0xb69db26c @to_s="GET    /products/:id/edit(.:format)?            {:controller=>\"products\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69dbbb8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69dbb18 @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb69dba64 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69db9c4 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb69db910 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69db870 @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb69db7f8 @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"products"}, @requirements={:controller=>"products", :action=>"edit"}>, #<ActionController::Routing::Route:0xb69d8030 @to_s="GET    /products/:id(.:format)?                 {:controller=>\"products\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69d87d8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69d8738 @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb69d8684 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69d85e4 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb69d856c @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"products"}, @requirements={:controller=>"products", :action=>"show"}>, #<ActionController::Routing::Route:0xb69d4ed0 @to_s="PUT    /products/:id(.:format)?                 {:controller=>\"products\", :action=>\"update\"}", @optimise=false, @conditions={:method=>:put}, @action_requirement="update", @defaults={:action=>"update", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69d5678 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69d55d8 @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb69d5524 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69d5484 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb69d540c @key=:format, @is_optional=true>], @parameter_shell={:action=>"update", :controller=>"products"}, @requirements={:controller=>"products", :action=>"update"}>, #<ActionController::Routing::Route:0xb69d1d5c @to_s="DELETE /products/:id(.:format)?                 {:controller=>\"products\", :action=>\"destroy\"}", @optimise=false, @conditions={:method=>:delete}, @action_requirement="destroy", @defaults={:action=>"destroy", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb69d2504 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb69d2464 @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb69d23b0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69d2310 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb69d2298 @key=:format, @is_optional=true>], @parameter_shell={:action=>"destroy", :controller=>"products"}, @requirements={:controller=>"products", :action=>"destroy"}>, #<ActionController::Routing::Route:0xb69cf034 @to_s="ANY    /:controller/:action/:id/                {}", @optimise=false, @conditions={}, @action_requirement=nil, @defaults={:action=>"index"}, @matching_prepared=true, @controller_requirement=nil, @significant_keys=[:controller, :action, :id], @segments=[#<ActionController::Routing::DividerSegment:0xb69cf5ac @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::ControllerSegment:0xb69cf50c @key=:controller, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb69cf458 @raw=true, @is_optional=true, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69cf3b8 @default="index", @key=:action, @is_optional=true>, #<ActionController::Routing::DividerSegment:0xb69cf304 @raw=true, @is_optional=true, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69cf264 @key=:id, @is_optional=true>, #<ActionController::Routing::DividerSegment:0xb69cf1b0 @raw=true, @is_optional=true, @value="/">], @parameter_shell={}, @requirements={}>, #<ActionController::Routing::Route:0xb69cbb8c @to_s="ANY    /:controller/:action/:id(.:format)?      {}", @optimise=false, @conditions={}, @action_requirement=nil, @defaults={:action=>"index"}, @matching_prepared=true, @controller_requirement=nil, @significant_keys=[:controller, :action, :id, :format], @segments=[#<ActionController::Routing::DividerSegment:0xb69cc0dc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::ControllerSegment:0xb69cc03c @key=:controller, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb69cbf88 @raw=true, @is_optional=true, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69cbee8 @default="index", @key=:action, @is_optional=true>, #<ActionController::Routing::DividerSegment:0xb69cbe34 @raw=true, @is_optional=true, @value="/">, #<ActionController::Routing::DynamicSegment:0xb69cbd94 @key=:id, @is_optional=true>, #<ActionController::Routing::OptionalFormatSegment:0xb69cbd1c @key=:format, @is_optional=true>], @parameter_shell={}, @requirements={}>], @builder=#<ActionController::Routing::RouteBuilder:0xb70ee6f8 @optional_separators=["/"], @interval_regexp=/(.*?)((?-mix:[\/\.\?])|$)/, @separators=["/", ".", "?"], @nonseparator_regexp=/\A([^\/\.\?]+)/, @separator_regexp=/[\/\.\?]/>, @configuration_files=["/home/rubys/git/awdwr/work-239/depot/config/routes.rb"], @routes_last_modified=Mon Jun 07 09:12:06 -0400 2010, @routes_by_controller=nil, @named_routes=#<ActionController::Routing::RouteSet::NamedRouteCollection:0xb6b81a6c @routes={:orders=>#<ActionController::Routing::Route:0xb72b0d4c @to_s="GET    /orders(.:format)?                       {:controller=>\"orders\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb72b2cc8 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb72b2660 @is_optional=false, @value="orders">, #<ActionController::Routing::OptionalFormatSegment:0xb72b2598 @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"index"}>, :line_item=>#<ActionController::Routing::Route:0xb72ff834 @to_s="GET    /line_items/:id(.:format)?               {:controller=>\"line_items\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb73028cc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb7302804 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb73026ec @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb7302610 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb730255c @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"show"}>, :edit_user=>#<ActionController::Routing::Route:0xb70a6998 @to_s="GET    /users/:id/edit(.:format)?               {:controller=>\"users\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb70a7384 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70a7258 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb70a71a4 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb70a70f0 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb70a703c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70a6f9c @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb70a6f24 @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"users"}, @requirements={:controller=>"users", :action=>"edit"}>, :new_product=>#<ActionController::Routing::Route:0xb6a4be54 @to_s="GET    /products/new(.:format)?                 {:controller=>\"products\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a4c4d0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a4c430 @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb6a4c37c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a4c2dc @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb6a4c264 @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"products"}, @requirements={:controller=>"products", :action=>"new"}>, :products=>#<ActionController::Routing::Route:0xb6a5713c @to_s="GET    /products(.:format)?                     {:controller=>\"products\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a57614 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a57574 @is_optional=false, @value="products">, #<ActionController::Routing::OptionalFormatSegment:0xb6a574fc @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"products"}, @requirements={:controller=>"products", :action=>"index"}>, :order=>#<ActionController::Routing::Route:0xb6a63338 @to_s="GET    /orders/:id(.:format)?                   {:controller=>\"orders\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a63ae0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a63a40 @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb6a6398c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a638ec @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a63874 @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"show"}>, :product=>#<ActionController::Routing::Route:0xb6a3cb34 @to_s="GET    /products/:id(.:format)?                 {:controller=>\"products\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a3d2dc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a3d23c @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb6a3d188 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a3d0e8 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb6a3d070 @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"products"}, @requirements={:controller=>"products", :action=>"show"}>, :edit_product=>#<ActionController::Routing::Route:0xb6a42890 @to_s="GET    /products/:id/edit(.:format)?            {:controller=>\"products\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"products"}, @matching_prepared=true, @controller_requirement="products", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a431dc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a4313c @is_optional=false, @value="products">, #<ActionController::Routing::DividerSegment:0xb6a43088 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a42fe8 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb6a42f34 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a42e94 @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb6a42e1c @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"products"}, @requirements={:controller=>"products", :action=>"edit"}>, :new_order=>#<ActionController::Routing::Route:0xb73b614c @to_s="GET    /orders/new(.:format)?                   {:controller=>\"orders\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb73bc31c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb73bbaac @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb73bb750 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb73bb408 @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb73bb2dc @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"new"}>, :new_line_item=>#<ActionController::Routing::Route:0xb734efb0 @to_s="GET    /line_items/new(.:format)?               {:controller=>\"line_items\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb734ff78 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb734fe60 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb734fc80 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb734fadc @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb734f9b0 @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"new"}>, :users=>#<ActionController::Routing::Route:0xb70edf28 @to_s="GET    /users(.:format)?                        {:controller=>\"users\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb70ee478 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70ee3d8 @is_optional=false, @value="users">, #<ActionController::Routing::OptionalFormatSegment:0xb70ee338 @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"users"}, @requirements={:controller=>"users", :action=>"index"}>, :edit_order=>#<ActionController::Routing::Route:0xb6a69094 @to_s="GET    /orders/:id/edit(.:format)?              {:controller=>\"orders\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"orders"}, @matching_prepared=true, @controller_requirement="orders", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb6a699e0 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a69940 @is_optional=false, @value="orders">, #<ActionController::Routing::DividerSegment:0xb6a6988c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb6a697ec @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb6a69738 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb6a69698 @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb6a69620 @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"orders"}, @requirements={:controller=>"orders", :action=>"edit"}>, :user=>#<ActionController::Routing::Route:0xb70868f0 @to_s="GET    /users/:id(.:format)?                    {:controller=>\"users\", :action=>\"show\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="show", @defaults={:action=>"show", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb70890b4 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb7088e98 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb7088c90 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb7088524 @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::OptionalFormatSegment:0xb7088344 @key=:format, @is_optional=true>], @parameter_shell={:action=>"show", :controller=>"users"}, @requirements={:controller=>"users", :action=>"show"}>, :edit_line_item=>#<ActionController::Routing::Route:0xb73188fc @to_s="GET    /line_items/:id/edit(.:format)?          {:controller=>\"line_items\", :action=>\"edit\"}", @optimise=false, @conditions={:method=>:get}, @action_requirement="edit", @defaults={:action=>"edit", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:id, :format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb732082c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb7320570 @is_optional=false, @value="line_items">, #<ActionController::Routing::DividerSegment:0xb73204bc @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::DynamicSegment:0xb732041c @regexp=/[^\/.?]+/, @key=:id, @is_optional=false>, #<ActionController::Routing::DividerSegment:0xb73201c4 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb73200fc @is_optional=false, @value="edit">, #<ActionController::Routing::OptionalFormatSegment:0xb7320084 @key=:format, @is_optional=true>], @parameter_shell={:action=>"edit", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"edit"}>, :line_items=>#<ActionController::Routing::Route:0xb737b7f4 @to_s="GET    /line_items(.:format)?                   {:controller=>\"line_items\", :action=>\"index\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="index", @defaults={:action=>"index", :controller=>"line_items"}, @matching_prepared=true, @controller_requirement="line_items", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb737c370 @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb737c1cc @is_optional=false, @value="line_items">, #<ActionController::Routing::OptionalFormatSegment:0xb737bfec @key=:format, @is_optional=true>], @parameter_shell={:action=>"index", :controller=>"line_items"}, @requirements={:controller=>"line_items", :action=>"index"}>, :new_user=>#<ActionController::Routing::Route:0xb70ca974 @to_s="GET    /users/new(.:format)?                    {:controller=>\"users\", :action=>\"new\"}", @optimise=true, @conditions={:method=>:get}, @action_requirement="new", @defaults={:action=>"new", :controller=>"users"}, @matching_prepared=true, @controller_requirement="users", @significant_keys=[:format, :controller, :action], @segments=[#<ActionController::Routing::DividerSegment:0xb70cb20c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70cb144 @is_optional=false, @value="users">, #<ActionController::Routing::DividerSegment:0xb70cb02c @raw=true, @is_optional=false, @value="/">, #<ActionController::Routing::StaticSegment:0xb70caf3c @is_optional=false, @value="new">, #<ActionController::Routing::OptionalFormatSegment:0xb70caec4 @key=:format, @is_optional=true>], @parameter_shell={:action=>"new", :controller=>"users"}, @requirements={:controller=>"users", :action=>"new"}>}, @helpers=[:hash_for_users_url, :users_url, :hash_for_users_path, :users_path, :hash_for_new_user_url, :new_user_url, :hash_for_new_user_path, :new_user_path, :hash_for_edit_user_url, :edit_user_url, :hash_for_edit_user_path, :edit_user_path, :hash_for_user_url, :user_url, :hash_for_user_path, :user_path, :hash_for_line_items_url, :line_items_url, :hash_for_line_items_path, :line_items_path, :hash_for_new_line_item_url, :new_line_item_url, :hash_for_new_line_item_path, :new_line_item_path, :hash_for_edit_line_item_url, :edit_line_item_url, :hash_for_edit_line_item_path, :edit_line_item_path, :hash_for_line_item_url, :line_item_url, :hash_for_line_item_path, :line_item_path, :hash_for_orders_url, :orders_url, :hash_for_orders_path, :orders_path, :hash_for_new_order_url, :new_order_url, :hash_for_new_order_path, :new_order_path, :hash_for_edit_order_url, :edit_order_url, :hash_for_edit_order_path, :edit_order_path, :hash_for_order_url, :order_url, :hash_for_order_path, :order_path, :hash_for_products_url, :products_url, :hash_for_products_path, :products_path, :hash_for_new_product_url, :new_product_url, :hash_for_new_product_path, :new_product_path, :hash_for_edit_product_url, :edit_product_url, :hash_for_edit_product_path, :edit_product_path, :hash_for_product_url, :product_url, :hash_for_product_path, :product_path], @module=#<Module:0xb6b819e0>>>
>> app = ActionController::Integration::Session.new
=> #<ActionController::Integration::Session:0xb6877600 @host="www.example.com", @headers=nil, @status_message=nil, @named_routes_configured=true, @response=nil, @cookies={}, @result=nil, @status=nil, @accept="text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", @request=nil, @request_count=0, @controller=nil, @path=nil, @application=#<ActionController::Dispatcher:0xb6877498 @output=#<IO:0xb7515574>>, @remote_addr="127.0.0.1", @https=false>
 
>> puts rs.routes
GET    /users(.:format)?                        {:controller=>"users", :action=>"index"}
POST   /users(.:format)?                        {:controller=>"users", :action=>"create"}
GET    /users/new(.:format)?                    {:controller=>"users", :action=>"new"}
GET    /users/:id/edit(.:format)?               {:controller=>"users", :action=>"edit"}
GET    /users/:id(.:format)?                    {:controller=>"users", :action=>"show"}
PUT    /users/:id(.:format)?                    {:controller=>"users", :action=>"update"}
DELETE /users/:id(.:format)?                    {:controller=>"users", :action=>"destroy"}
GET    /line_items(.:format)?                   {:controller=>"line_items", :action=>"index"}
POST   /line_items(.:format)?                   {:controller=>"line_items", :action=>"create"}
GET    /line_items/new(.:format)?               {:controller=>"line_items", :action=>"new"}
GET    /line_items/:id/edit(.:format)?          {:controller=>"line_items", :action=>"edit"}
GET    /line_items/:id(.:format)?               {:controller=>"line_items", :action=>"show"}
PUT    /line_items/:id(.:format)?               {:controller=>"line_items", :action=>"update"}
DELETE /line_items/:id(.:format)?               {:controller=>"line_items", :action=>"destroy"}
GET    /orders(.:format)?                       {:controller=>"orders", :action=>"index"}
POST   /orders(.:format)?                       {:controller=>"orders", :action=>"create"}
GET    /orders/new(.:format)?                   {:controller=>"orders", :action=>"new"}
GET    /orders/:id/edit(.:format)?              {:controller=>"orders", :action=>"edit"}
GET    /orders/:id(.:format)?                   {:controller=>"orders", :action=>"show"}
PUT    /orders/:id(.:format)?                   {:controller=>"orders", :action=>"update"}
DELETE /orders/:id(.:format)?                   {:controller=>"orders", :action=>"destroy"}
GET    /products(.:format)?                     {:controller=>"products", :action=>"index"}
POST   /products(.:format)?                     {:controller=>"products", :action=>"create"}
GET    /products/new(.:format)?                 {:controller=>"products", :action=>"new"}
GET    /products/:id/edit(.:format)?            {:controller=>"products", :action=>"edit"}
GET    /products/:id(.:format)?                 {:controller=>"products", :action=>"show"}
PUT    /products/:id(.:format)?                 {:controller=>"products", :action=>"update"}
DELETE /products/:id(.:format)?                 {:controller=>"products", :action=>"destroy"}
ANY    /:controller/:action/:id/                {}
ANY    /:controller/:action/:id(.:format)?      {}
GET    /users(.:format)?                        {:controller=>"users", :action=>"index"}
POST   /users(.:format)?                        {:controller=>"users", :action=>"create"}
GET    /users/new(.:format)?                    {:controller=>"users", :action=>"new"}
GET    /users/:id/edit(.:format)?               {:controller=>"users", :action=>"edit"}
GET    /users/:id(.:format)?                    {:controller=>"users", :action=>"show"}
PUT    /users/:id(.:format)?                    {:controller=>"users", :action=>"update"}
DELETE /users/:id(.:format)?                    {:controller=>"users", :action=>"destroy"}
GET    /line_items(.:format)?                   {:controller=>"line_items", :action=>"index"}
POST   /line_items(.:format)?                   {:controller=>"line_items", :action=>"create"}
GET    /line_items/new(.:format)?               {:controller=>"line_items", :action=>"new"}
GET    /line_items/:id/edit(.:format)?          {:controller=>"line_items", :action=>"edit"}
GET    /line_items/:id(.:format)?               {:controller=>"line_items", :action=>"show"}
PUT    /line_items/:id(.:format)?               {:controller=>"line_items", :action=>"update"}
DELETE /line_items/:id(.:format)?               {:controller=>"line_items", :action=>"destroy"}
GET    /orders(.:format)?                       {:controller=>"orders", :action=>"index"}
POST   /orders(.:format)?                       {:controller=>"orders", :action=>"create"}
GET    /orders/new(.:format)?                   {:controller=>"orders", :action=>"new"}
GET    /orders/:id/edit(.:format)?              {:controller=>"orders", :action=>"edit"}
GET    /orders/:id(.:format)?                   {:controller=>"orders", :action=>"show"}
PUT    /orders/:id(.:format)?                   {:controller=>"orders", :action=>"update"}
DELETE /orders/:id(.:format)?                   {:controller=>"orders", :action=>"destroy"}
GET    /products(.:format)?                     {:controller=>"products", :action=>"index"}
POST   /products(.:format)?                     {:controller=>"products", :action=>"create"}
GET    /products/new(.:format)?                 {:controller=>"products", :action=>"new"}
GET    /products/:id/edit(.:format)?            {:controller=>"products", :action=>"edit"}
GET    /products/:id(.:format)?                 {:controller=>"products", :action=>"show"}
PUT    /products/:id(.:format)?                 {:controller=>"products", :action=>"update"}
DELETE /products/:id(.:format)?                 {:controller=>"products", :action=>"destroy"}
ANY    /:controller/:action/:id/                {}
ANY    /:controller/:action/:id(.:format)?      {}
=> nil
>> rs.recognize_path "/store"
=> {:action=>"index", :controller=>"store"}
>> rs.recognize_path "/store/add_to_cart/1"
=> {:action=>"add_to_cart", :controller=>"store", :id=>"1"}
>> rs.recognize_path "/store/add_to_cart/1.xml"
=> {:action=>"add_to_cart", :controller=>"store", :format=>"xml", :id=>"1"}
>> rs.generate :controller => :store
=> "/store"
>> rs.generate :controller => :store, :id => 123
=> "/store/index/123"
>> rs.recognize_path "/coupon/show/1"
=> {:action=>"show", :controller=>"coupon", :id=>"1"}
>> load "config/routes.rb"
=> []
>> rs.recognize_path "/coupon/show/1"
=> {:action=>"show", :controller=>"coupon", :id=>"1"}
>> app.url_for :controller => :store, :action => :display, :id => 123
=> "http://www.example.com/store/display/123"
 
ruby -rubygems /home/rubys/git/rails/railties/bin/rails view
      create  
      create  app/controllers
      create  app/helpers
      create  app/models
      create  app/views/layouts
      create  config/environments
      create  config/initializers
      create  config/locales
      create  db
      create  doc
      create  lib
      create  lib/tasks
      create  log
      create  public/images
      create  public/javascripts
      create  public/stylesheets
      create  script/performance
      create  test/fixtures
      create  test/functional
      create  test/integration
      create  test/performance
      create  test/unit
      create  vendor
      create  vendor/plugins
      create  tmp/sessions
      create  tmp/sockets
      create  tmp/cache
      create  tmp/pids
      create  Rakefile
      create  README
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  config/database.yml
      create  config/routes.rb
      create  config/locales/en.yml
      create  db/seeds.rb
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/new_rails_defaults.rb
      create  config/initializers/session_store.rb
      create  config/initializers/cookie_verification_secret.rb
      create  config/environment.rb
      create  config/boot.rb
      create  config/environments/production.rb
      create  config/environments/development.rb
      create  config/environments/test.rb
      create  script/about
      create  script/console
      create  script/dbconsole
      create  script/destroy
      create  script/generate
      create  script/runner
      create  script/server
      create  script/plugin
      create  script/performance/benchmarker
      create  script/performance/profiler
      create  test/test_helper.rb
      create  test/performance/browsing_test.rb
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/index.html
      create  public/favicon.ico
      create  public/robots.txt
      create  public/images/rails.png
      create  public/javascripts/prototype.js
      create  public/javascripts/effects.js
      create  public/javascripts/dragdrop.js
      create  public/javascripts/controls.js
      create  public/javascripts/application.js
      create  doc/README_FOR_APP
      create  log/server.log
      create  log/production.log
      create  log/development.log
      create  log/test.log
cp -v /home/rubys/git/awdwr/data/code/e1/views/app/controllers/*.rb app/controllers
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/array_controller.rb' -> `app/controllers/array_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/article_controller.rb' -> `app/controllers/article_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/blog1_controller.rb' -> `app/controllers/blog1_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/blog2_controller.rb' -> `app/controllers/blog2_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/blog_controller.rb' -> `app/controllers/blog_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/builder_controller.rb' -> `app/controllers/builder_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/form_controller.rb' -> `app/controllers/form_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/form_for_controller.rb' -> `app/controllers/form_for_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/pager_controller.rb' -> `app/controllers/pager_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/partial_controller.rb' -> `app/controllers/partial_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/products_controller.rb' -> `app/controllers/products_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/rhtml_controller.rb' -> `app/controllers/rhtml_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/test_controller.rb' -> `app/controllers/test_controller.rb'
`/home/rubys/git/awdwr/data/code/e1/views/app/controllers/upload_controller.rb' -> `app/controllers/upload_controller.rb'
irb e1/routing/config2/routes_for_blog.rb
>> require 'rubygems'
=> false
>> require 'action_controller'
=> true
 
>> ActionController::Base.session_store = nil
=> nil
>> ActionController::Routing.use_controllers! [ "article", "blog" ]
=> ["article", "blog"]
>> rs = ActionController::Routing::Routes
=> #<ActionController::Routing::RouteSet:0xb6fb06d8 @named_routes=#<ActionController::Routing::RouteSet::NamedRouteCollection:0xb6fab1ec @routes={}, @helpers=[], @module=#<Module:0xb6fab188>>, @routes=[], @configuration_files=[]>
>> app = ActionController::Integration::Session.new
=> #<ActionController::Integration::Session:0xb6e2e65c @status=nil, @response=nil, @host="www.example.com", @https=false, @application=#<ActionController::Dispatcher:0xb6e24fe4 @app=#<Rack::Lock:0xb6e18d0c @app=#<ActionController::Failsafe:0xb6e18de8 @app=#<ActionController::ParamsParser:0xb6e18ec4 @app=#<Rack::MethodOverride:0xb6e18fa0 @app=#<Rack::Head:0xb6e1907c @app=#<ActionController::StringCoercion:0xb6e192fc @app=#<Proc:0xb6e2b524@/home/rubys/git/awdwr/work-239/view/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130>>>>>>, @lock=#<Mutex:0xb6e18c58>>, @output=#<IO:0xb75b4570>>, @request=nil, @accept="text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", @controller=nil, @status_message=nil, @cookies={}, @named_routes_configured=true, @path=nil, @remote_addr="127.0.0.1", @result=nil, @headers=nil, @request_count=0>
 
?> ActionController::Routing::Routes.draw do |map| 
 
?>   # Straight 'http://my.app/blog/' displays the index 
?>   map.connect "blog/", 
?>               :controller => "blog", 
?>               :action => "index" 
 
?>   # Return articles for a year, year/month, or year/month/day 
?>   map.connect "blog/:year/:month/:day", 
?>               :controller => "blog", 
?>               :action => "show_date", 
?>               :requirements => { :year => /(19|20)\d\d/,
?>                                  :month => /[01]?\d/, 
?>                                  :day => /[0-3]?\d/}, 
?>               :day => nil, 
?>               :month => nil 
 
>>   # Show an article identified by an id 
?>   map.connect "blog/show/:id", 
?>               :controller => "blog", 
?>               :action => "show", 
?>               :id => /\d+/ 
 
>>   # Regular Rails routing for admin stuff 
?>   map.connect "blog/:controller/:action/:id" 
 
>>   # Catchall so we can gracefully handle badly formed requests 
?>   map.connect "*anything", 
?>               :controller => "blog", 
?>               :action => "unknown_request" 
>> end
=> [ActionController::Base, ActionView::Base]
 
>> rs.recognize_path "/blog"
=> {:controller=>"blog", :action=>"index"}
>> rs.recognize_path "/blog/show/123"
=> {:controller=>"blog", :action=>"show", :id=>"123"}
>> rs.recognize_path "/blog/2004"
=> {:controller=>"blog", :year=>"2004", :action=>"show_date"}
>> rs.recognize_path "/blog/2004/12"
=> {:controller=>"blog", :month=>"12", :year=>"2004", :action=>"show_date"}
>> rs.recognize_path "/blog/2004/12/25"
=> {:controller=>"blog", :month=>"12", :year=>"2004", :action=>"show_date", :day=>"25"}
>> rs.recognize_path "/blog/article/edit/123"
=> {:controller=>"article", :action=>"edit", :id=>"123"}
>> rs.recognize_path "/blog/article/show_stats"
=> {:controller=>"article", :action=>"show_stats"}
>> rs.recognize_path "/blog/wibble"
=> {:controller=>"blog", :action=>"unknown_request", :anything=>["blog", "wibble"]}
>> rs.recognize_path "/junk"
=> {:controller=>"blog", :action=>"unknown_request", :anything=>["junk"]}
 
>> last_request = rs.recognize_path "/blog/2006/07/28"
=> {:controller=>"blog", :month=>"07", :year=>"2006", :action=>"show_date", :day=>"28"}
>> rs.generate({:day => 25}, last_request)
=> "/blog/2006/07/25"
>> rs.generate({:year => 2005}, last_request)
=> "/blog/2005"
 
>> app.url_for :controller => 'blog', :action => 'show_date', :year => 2002
=> "http://www.example.com/blog/2002"
>> app.url_for :controller => 'blog', :action => 'show_date', :overwrite_params => {:year => "2002" }
DEPRECATION WARNING: The :overwrite_params option is deprecated. Specify all the necessary parameters instead. (called from url_for at /home/rubys/git/awdwr/work-239/view/vendor/rails/actionpack/lib/action_controller/integration.rb:244)
=> "http://www.example.com/blog/2002"
 

23.3 Helpers for Formatting, Linking, and Pagination 21 Action Controller: Routing and URLs