Gotcha with after_commit callback in Rails
Make sure that if the code inside transaction is not dependent on result of after_commit callback. http://blog.bigbinary.com/2015/03/01/gotcha-with-after_commit-callback-in-rails.html
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Make sure that if the code inside transaction is not dependent on result of after_commit callback. http://blog.bigbinary.com/2015/03/01/gotcha-with-after_commit-callback-in-rails.html
Post a comment