Fix #248 - Reload all accounts when fetching from cache

This commit is contained in:
Eugen Rochko 2016-12-03 18:21:26 +01:00
parent 253970cb73
commit 816284d739
7 changed files with 53 additions and 16 deletions

View file

@ -11,5 +11,6 @@ module Cacheable
included do
scope :with_includes, -> { includes(@cache_associated) }
scope :cache_ids, -> { select(:id, :updated_at) }
end
end