1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
e460fd7880 Forgot 126 with hs weights 2015-12-30 23:21:05 +00:00
198c6d5e82 Model validations 2015-12-30 19:04:41 +00:00
74577eb9ec Random seeding now works 2015-12-30 16:21:56 +00:00
4a4dfde8bb Fixed model names 2015-12-15 08:30:13 -05:00
34a04be4bf Added head to head pool winner and tests 2015-11-10 02:58:52 +00:00
e426a491b3 Trying to remove queries and rely on associations 2015-11-02 13:25:53 -05:00
386dc1605f Finished pool advance logic still need tests 2015-10-14 17:58:28 -04:00
087c383996 Continuing pool bracket movements 2015-10-13 20:57:35 -04:00
516dbe66ad Mock advancment from pools to brackets 2015-10-08 17:31:27 -04:00
RJ Osborne
c041286943 rough cut of getting rid of the matches collection being passed around
Associated Weight and Match-- the FK already existed in the domain
Reduced argument counts on assignLoserNames and assignBouts; trying to pass a Tournament around more
This was a tough nut to crack.  Looking back, I tried to eat too much of the horse at once on this refactor.
2015-05-26 19:26:15 -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
RJ Osborne
2a57cafd6d extracted wrestlers_for_pool method
removed unnecessary select
2015-05-23 08:07:11 -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
451e6911f8 Fixed totalRounds in weight 2015-04-01 13:44:01 +00:00
9986c8b407 Removed unnecessary attr_accessors 2015-03-30 17:45:37 +00:00
9976fd5869 Added before save on wrestler and weight. Also fixed fourPoolNumbers for weight 2015-03-28 18:16:32 +00:00
d7bbd32460 Formatting code and deleting uneeded methods 2015-03-28 14:43:14 +00:00
7146c401cf Test 5 match rule for bracket size 5-16 2015-03-27 19:07:49 +00:00
a821c28cf7 Created one page for all pools 2015-03-27 16:33:09 +00:00
4b6b20c912 Created integration test for poolbracket matchups 2015-03-27 12:52:35 +00:00
819d735480 Cleaned scaffold tests and set up fixtures needed for now. 2015-03-26 16:55:33 +00:00
c1081ef64a Generate blank matchups for pool brackets 2015-03-23 19:14:58 +00:00
27883597ca Set up blank bracket matches for fourPools 2015-03-23 18:17:06 +00:00
20f9b7f016 Cleaned up a little bit of code 2015-03-23 11:59:56 +00:00
c86f678fd1 Moved poolNumber generation to weight. 2015-03-17 09:06:21 -04:00
2843760779 Create bracket views with upcomingMatches 2015-03-16 08:35:56 -04:00
05c340eb94 Reducing queries for upcoming matches 2015-03-16 08:06:08 -04:00
dc9639cf1c Calculate matchups for pools. This breaks generating matches. 2015-03-12 15:03:38 -04:00
f32b91def7 Change weight.bracket_type to weight.pool_bracket_type and added
twoPoolToFinal for 9 and 10 man weights.
2015-02-09 12:35:25 -05:00
2e7e34125b Updated match generation view, created a bracket_type for weight, and
add DQ as a win type.
2015-02-09 12:31:14 -05:00
eba979740c fixed generation sort 2015-02-06 23:29:00 +00:00
8c7c1abc99 sorting before generating 2015-02-06 22:48:26 +00:00
8caaf588fd Made two pool for 7-10 people 2015-02-06 13:26:58 -05:00
3eff0ed0fa See bracket size from tournament view. 2015-02-06 09:08:37 -05:00
0244d15a8b Generated bouts and rounds. Need to fix rounds for odd numbered pools. 2015-02-03 10:41:49 -05:00
ae4b2718b5 Working on Pool class 2015-01-26 13:40:25 -05:00
d69838310e Working on pools 2014-12-31 10:38:49 -05:00
90b96bb218 Making progress on generating matches. 2014-12-18 10:45:49 -05:00
1899218798 Made pool and bout classes. Still need to fix bouts doubling on every
refresh of upcoming matches view
2014-12-15 13:12:39 -05:00
Jacob Cody Wimer
d4b97c83c3 Updated re-directs, added weights to tournament#show, and edited a few views 2014-01-22 13:12:40 -05:00
Jacob Cody Wimer
24d9deee8b Added basic scaffolds for schools wrestlers and weights 2013-12-31 11:23:43 -05:00