Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [d39485078ec56e25a96e97d44b53498d8a1c7426] by Tom Ward

Revision d39485078ec56e25a96e97d44b53498d8a1c7426, committed by Tom Ward · July 19th, 2008 @ 02:19 AM

Raise ArgumentError if an invalid method is specified as part of a route's conditions. Also raise an error if HEAD is specified as the method, as rails routes all HEAD requests through the equivalent GET, though doesn't return the response body [#182 state:resolved]

Signed-off-by: Joshua Peek

http://github.com/rails/rails/co...

4 changed files

  • M actionpack/lib/action_controller/resources.rb
  • M actionpack/lib/action_controller/routing/builder.rb
  • M actionpack/test/controller/resources_test.rb
  • M actionpack/test/controller/routing_test.rb