How to skip all callbacks for all models in Rails
I explored a couple of solutions about how to skip all callbacks on ActiveRecord models. It goes from using conditional callbacks to Patching ApplicationRecord and using the Suppresor from Rails.
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!
I explored a couple of solutions about how to skip all callbacks on ActiveRecord models. It goes from using conditional callbacks to Patching ApplicationRecord and using the Suppresor from Rails.
Post a comment