-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cache regions in the warmer as well * Move cache_key behavior to Region this should get the cache keys consistent between a facility and district group and their associated Regions, because they should have the same data and therefore the same cache keys * Fix test * linting * looser expectation * delegate cache_version also * Cache blocks also; bump up batch size * turn off query trace by default too noisy when you dont want this * linting
- Loading branch information
Showing
3 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
if Rails.env.development? | ||
# See https://github.com/brunofacca/active-record-query-trace for docs | ||
ActiveRecordQueryTrace.enabled = false | ||
ActiveRecordQueryTrace.level = :app | ||
ActiveRecordQueryTrace.enabled = true | ||
ActiveRecordQueryTrace.lines = 15 | ||
end |
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