阅读背景:

如何在Rails中引发异常,使其行为与其他Rails异常相似?

来源:互联网 

I would like to raise an exception so that it does the same thing a normal Rails exception does. Specially, show the exception and stack trace in development mode and show "We're sorry, but something went wrong" page in production mode. I would like to raise an exception so that it d




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: