Skip to content

Instantly share code, notes, and snippets.

@patricksrobertson
Created March 12, 2012 21:45
Show Gist options
  • Save patricksrobertson/2024891 to your computer and use it in GitHub Desktop.
Save patricksrobertson/2024891 to your computer and use it in GitHub Desktop.
#rails c production
Patient.all.each do |patient|
Rails.cache.delete("#{Rails.env}-patient-#{patient.id}")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment