Created
October 3, 2017 20:52
-
-
Save marcotc/93d50729dc34a144e737395491f45eeb to your computer and use it in GitHub Desktop.
Clear ActiveRecord cache
This file contains 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.connection.query_cache.clear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment