阅读背景:

Rails 3: ActiveRecord观察者:after_commit回调不会在测试期间触发,但after_save会触发

来源:互联网 

I have a Rails 3 application. I use after_save callbacks for some models and after_commit callbacks for one of the models. All of the code the code works fine, but during RSpec tests, the after_commit callback doesn't get called when I save a I have a Rails 3 application. I use after_save




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

分享到: