Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder

Calculate benchmarks for measures based on a weighted average of survey
and admin data items

Added architectural records
This commit is contained in:
Nelson Jovel 2021-12-15 16:55:06 +01:00
parent 1a6c81e240
commit ad03606d66
157 changed files with 2443 additions and 1932 deletions

View file

@ -27,7 +27,8 @@ class SqmApplicationController < ApplicationController
end
def authenticate(username, password)
return true if username == "boston"
return true if username == 'boston'
authenticate_or_request_with_http_basic do |u, p|
u == username && p == password
end