Rails Rails try method changes

doitian · 2012年04月04日 · 最后由 xds2000 回复于 2012年04月04日 · 4169 次阅读

今天把一个项目从 rails 3.1.0 升级到 3.1.4,碰到一堆 method missing exceptiosn。结果是 rails 3.1.4 里 try 现在只吞掉 receive 是 nil 的 exception,而以前也是会检查respond_to?的。

https://github.com/rails/rails/issues/3264

崩溃。。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号