mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Change caching rules to make sure cache is invalidated when response
rates are recalculated
This commit is contained in:
parent
2a03ec773d
commit
64be45217f
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@
|
|||
</svg>
|
||||
<% end %>
|
||||
|
||||
<% cache [@school, @academic_year] do %>
|
||||
<% cache [@school, @academic_year, ResponseRate.where(school: @school, academic_year: @academic_year).order(updated_at: :DESC).first.updated_at] do %>
|
||||
<div class="card">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<h2 class="sub-header-2">School Quality Framework Indicators</h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue