1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-01 12:15:25 +00:00
Commit Graph

70 Commits

Author SHA1 Message Date
2866c93aec Destroy matches if a school wrestler or weight is destroyed 2016-01-20 17:52:21 +00:00
bd3c29bd60 Fixed tournament error bug 2016-01-20 16:10:41 +00:00
40ebe64176 Error page for generating matches, cannot have more than 16 for Pool to bracket tournaments 2016-01-20 15:15:39 +00:00
c537c6067c Recommend deleting delegations instead of deleting them 2016-01-13 13:50:19 +00:00
c6626988db Added pages for teampointsadjust and spearated wrestler and school deducted points 2016-01-12 17:36:45 +00:00
cce30bdf3a Fixed mat assignment when matches are finished 2016-01-11 16:48:08 +00:00
f46029efaf Added logic to delegate tournament access 2016-01-06 18:38:02 +00:00
eb9037b078 Mat assignment fix did not work 2016-01-06 15:42:00 +00:00
7d092c3d35 Fixed assigning mats bug 2016-01-06 02:52:24 +00:00
c012682e77 Added tournament search 2016-01-04 19:20:05 +00:00
198c6d5e82 Model validations 2015-12-30 19:04:41 +00:00
c82d6d727b Added date to tournament 2015-12-30 18:48:49 +00:00
a911183637 Trying to fix async jobs 2015-12-29 22:53:53 +00:00
0d310c587b I think I got delayed jobs working 2015-12-29 18:50:18 +00:00
5ee949d02a Reset team scores when generating matches 2015-12-23 15:38:33 +00:00
54ecbe9451 Revert "Added memcached and set up cached items for up_matches page"
This reverts commit 983cc9c667.
2015-12-17 19:20:18 +00:00
983cc9c667 Added memcached and set up cached items for up_matches page 2015-12-17 18:44:24 +00:00
7970ff000c Re assign bouts to mats if mat is destroyed or created 2015-12-14 20:23:47 +00:00
d28e95ed31 Put finals in same round 2015-12-07 15:24:42 +00:00
68fe5e4f90 Updated views for wrestlers show page 2015-12-04 19:50:32 +00:00
d18e729012 Finished setting owner for tournamenr and protecting paths 2015-10-26 16:31:45 -04:00
ad9ea9dc42 First crack at setting an owner for the tournament 2015-10-23 08:53:29 -04:00
0fd3bd64fe Added a bout board 2015-06-19 15:25:01 +00:00
RJ Osborne
284439e2cf Removed upcomingMatches because matches are an A-R relation of Tournament 2015-05-28 00:25:14 -04:00
RJ Osborne
062396da0a A Tournament can now generate its own matches.
This was again extracted as a module.  Modules get more powerful as they get more generic.  This is far from generic.
2015-05-27 23:57:37 -04:00
RJ Osborne
9b2c2dde60 Converted class tournamentmatchgen into the GeneratesLoserNames module.
Here is another way to handle functionality that you may not want bloating your ActiveRecord class, yet belongs _on_ the model.
In this case, I feel there is an abstraction we are still sorely missing.
2015-05-27 23:29:51 -04:00
RJ Osborne
25c92a125d Boutgen is dead. Tournaments can assign their own bout numbers. 2015-05-27 23:04:17 -04:00
RJ Osborne
091b7c4181 Cut the runtime by queueing the changes in memory and deferring database writes
Made some unspecified behavior explicit
2015-05-26 19:26:15 -04:00
9d8e0850bc Refactored generating matches 2015-05-26 18:27:55 +00:00
RJ Osborne
2a57cafd6d extracted wrestlers_for_pool method
removed unnecessary select
2015-05-23 08:07:11 -04:00
RJ Osborne
44ec0b55f0 introduced constructor on TournamentMatchGen 2015-05-23 05:08:16 -04:00
e7bfad8df0 Auto creating of high school weights 2015-04-27 14:58:22 -04:00
37470d9602 Moved match generation to a class and added tournament_type to tournaments. 2015-04-27 13:54:57 -04:00
9c5c12c413 Matchups_array completely removed. I do not know why has_many matches
does not work in tournaments. The solution was to add a matches
method.
2015-04-27 09:50:41 -04:00
6d39bcb868 Remove matchups_array 2015-04-26 15:58:15 -04:00
dd44efa869 Got stuff working with matches being saved individually. 2015-04-26 15:49:13 -04:00
b86211102b Revert "Revert "Moving away from matchups_array and saving matches individually""
This reverts commit 7b3fe2aaad.
2015-04-25 21:44:08 -04:00
7b3fe2aaad Revert "Moving away from matchups_array and saving matches individually"
This reverts commit 650a9ed7d6.
2015-04-25 13:59:59 -04:00
650a9ed7d6 Moving away from matchups_array and saving matches individually 2015-04-25 13:51:16 -04:00
1f67557fca Saving matchups_array 2015-04-21 22:31:29 -04:00
1c8ad90e8a Stopped saving matchups_array to test page speed 2015-04-21 22:15:18 -04:00
9de0d46e66 Saving matchups_array again. 2015-04-21 21:26:10 -04:00
b61431930f Now naming loser of boutNumber in boutgen. Boutgen only run once now. 2015-04-21 21:15:44 -04:00
367381208a Took out matchups_array saving, did not remove from database. 2015-04-21 17:13:26 -04:00
2b1618c69b Cleaned up a bunch of shit. Depricated model methods and controller methods. 2015-04-15 13:42:12 +00:00
9986c8b407 Removed unnecessary attr_accessors 2015-03-30 17:45:37 +00:00
43d7089b44 Associated wrestlers and tournaments through weights 2015-03-28 14:48:36 +00:00
4b6b20c912 Created integration test for poolbracket matchups 2015-03-27 12:52:35 +00:00
a1fbcc4a9f Added weight_max to matchup 2015-03-25 13:08:36 +00:00
06a4d1b95d Fixed matchup object to hash and hash to object 2015-03-25 12:56:19 +00:00