Skip to content

Instantly share code, notes, and snippets.

@dnch
Created August 25, 2008 00:28
Show Gist options
  • Save dnch/7015 to your computer and use it in GitHub Desktop.
Save dnch/7015 to your computer and use it in GitHub Desktop.
ActionController::MethodNotAllowed (Only get and post requests are allowed.):
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/recognition_optimisation.rb:65:in `recognize_path'
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:384:in `recognize'
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:148:in `handle_request'
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:107:in `dispatch'
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `synchronize'
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `dispatch'
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:35:in `dispatch'
/Library/Ruby/Gems/1.8/gems/passenger-2.0.3/lib/passenger/railz/request_handler.rb:38:in `process_request'
/Library/Ruby/Gems/1.8/gems/passenger-2.0.3/lib/passenger/abstract_request_handler.rb:163:in `main_loop'
/Library/Ruby/Gems/1.8/gems/passenger-2.0.3/lib/passenger/railz/application_spawner.rb:307:in `start_request_handler'
/Library/Ruby/Gems/1.8/gems/passenger-2.0.3/lib/passenger/railz/application_spawner.rb:276:in `handle_spawn_application'
/Library/Ruby/Gems/1.8/gems/passenger-2.0.3/lib/passenger/utils.rb:165:in `safe_fork'
/Library/Ruby/Gems/1.8/gems/passenger-2.0.3/lib/passenger/utils.rb:163:in `fork'
/Library/Ruby/Gems/1.8/gems/passenger-2.0.3/lib/passenger/utils.rb:163:in `safe_fork'
/Library/Ruby/Gems/1.8/gems/passenger-2.0.3/lib/passenger/railz/application_spawner.rb:274:in `handle_spawn_application'
map.resources :projects, :path_prefix => '/:section_name', :name_prefix => nil do |projects|
projects.resources :photographs
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment