1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-09 23:44:52 +00:00

Fixed a couple slow queries

This commit is contained in:
2021-12-11 03:08:43 +00:00
parent 5ef27f19cc
commit 8430949a37
6 changed files with 15 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ class Weight < ActiveRecord::Base
# passed via layouts/_tournament-navbar.html.erb
# tournaments controller does a .split(',') on this string and creates an array via commas
# tournament model runs the code via method create_pre_defined_weights
HS_WEIGHT_CLASSES = "106,113,120,126,132,138,144,150,157,165,175,190,215,285."
HS_WEIGHT_CLASSES = "106,113,120,126,132,138,144,150,157,165,175,190,215,285"
HS_GIRLS_WEIGHT_CLASSES = "100,105,110,115,120,125,130,135,140,145,155,170,190,235"
before_destroy do