Raise an Exception on Verify fail

Hi Pedro,

Pedro Cardoso wrote:

I would like to use a verify, but I want to raise an exception
if the verification is not met.

Not sure if this is what you're looking for, but you could redirect_to a method that raises it.

http://www.troubleshooters.com/codecorn/ruby/basictutorial.htm#_Exceptions

hth,
Bill