Skip to content

Instantly share code, notes, and snippets.

@elight
Created December 9, 2014 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elight/df7af3d900219ceb1a91 to your computer and use it in GitHub Desktop.
Save elight/df7af3d900219ceb1a91 to your computer and use it in GitHub Desktop.
app/controllers/barcodes_controller.rb:10:16: img_data = Rails.cache.fetch("barcode-#{code.gsub(/\W/,'_')}.png") do
app/controllers/picklist/recently_picked_controller.rb:5:15: items = Rails.cache.read('recently_picked') || []
app/controllers/picklist/to_ship_controller.rb:9:15: items = Rails.cache.read('recently_picked') || []
app/controllers/picklist/to_ship_controller.rb:14:7: Rails.cache.write('recently_picked', items)
app/controllers/pricing_engine/driver_controller.rb:10:15: running = Rails.cache.read('pricing_engine_worker_running') ? true : false
app/interactors/unit_interactor/change_storage_location.rb:66:15: items = Rails.cache.read('recently_picked') || []
app/interactors/unit_interactor/change_storage_location.rb:68:7: Rails.cache.write('recently_picked', items)
app/models/load.rb:239:8: #Rails.cache.fetch("load-#{proxy_association.owner.id}-manifest_entries-interesting_columns") do
app/models/load.rb:713:5: Rails.cache.write("load-#{self.id}-processing-manifest",true)
app/models/load.rb:727:5: Rails.cache.write("load-#{self.id}-processing-manifest",nil)
app/models/team.rb:85:6: #Rails.cache.fetch("team-report-#{id}-#{start_time.to_i}-#{end_time.to_i}",options) do
app/models/user.rb:128:5: Rails.cache.fetch("user-#{user_id.to_i}") do
app/views/manifest_entries/index.html.erb:28:17: <% if Rails.cache.read("load-#{@load.id}-processing-manifest") %>
app/workers/load_manifest_processor_worker.rb:10:7: Rails.cache.write("load-#{load_id}-processing-manifest",true)
app/workers/metrics_snapshot_worker.rb:15:11: Rails.cache.fetch("user-report-#{user.login}-#{start_time.to_i}-#{end_time.to_i}") do
app/workers/pricing_engine_worker.rb:8:7: Rails.cache.write("pricing_engine_worker_running", true)
app/workers/pricing_engine_worker.rb:22:7: Rails.cache.delete("pricing_engine_worker_running")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment