This plugin provides an easy way to make sure that your rails actions are only called with the method, protocol, and parameters that you expect.
This can save a considerable amount of error-checking code, uncover hidden bugs, and prevent security holes.
Homepage: http://validaterequest.rubyforge.org