aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/memoizable.rb
diff options
context:
space:
mode:
authorTom Ward <tom@popdog.net>2008-07-18 20:19:03 -0500
committerJoshua Peek <josh@joshpeek.com>2008-07-18 20:19:03 -0500
commitd39485078ec56e25a96e97d44b53498d8a1c7426 (patch)
tree6c7a23d8c91536a8e79d38372d710baffc42c8d2 /activesupport/lib/active_support/memoizable.rb
parentc3d1fda555c4bd5f8821d830c685ae5d0e7e52d0 (diff)
downloadrails-d39485078ec56e25a96e97d44b53498d8a1c7426.tar.gz
rails-d39485078ec56e25a96e97d44b53498d8a1c7426.tar.bz2
rails-d39485078ec56e25a96e97d44b53498d8a1c7426.zip
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 <josh@joshpeek.com>
Diffstat (limited to 'activesupport/lib/active_support/memoizable.rb')
0 files changed, 0 insertions, 0 deletions