Skip to content

Instantly share code, notes, and snippets.

@marcotc
Created October 3, 2017 20:52
Show Gist options
  • Save marcotc/93d50729dc34a144e737395491f45eeb to your computer and use it in GitHub Desktop.
Save marcotc/93d50729dc34a144e737395491f45eeb to your computer and use it in GitHub Desktop.
Clear ActiveRecord cache
ActiveRecord::Base.connection.query_cache.clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment