Created
March 11, 2020 18:55
-
-
Save GuilleLeopold/25792a0ff54a6648aef2f6564c9ed232 to your computer and use it in GitHub Desktop.
disable observers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActiveRecord::Base.observers.disable :all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment