Monday, May 20, 2013

'resque <Exception>' syntax not working in ruby - solved

ensure keyword does, but resque not.

The solution: The correct keyword is rescue not resque. In this case the exception is thrown before go through  the "undefined method" resque.

No comments:

Post a Comment