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

48 Commits

Author SHA1 Message Date
2866c93aec Destroy matches if a school wrestler or weight is destroyed 2016-01-20 17:52:21 +00:00
227e588658 Championship bracket wins are 2pts and conso bracket wins are 1pt 2016-01-12 15:05:38 +00:00
a8d54a2213 Advance in pool for previous matches 2016-01-11 20:06:43 +00:00
4310a7bb42 Pool wins are worth 2pts 2016-01-06 20:08:28 +00:00
198c6d5e82 Model validations 2015-12-30 19:04:41 +00:00
6ed2bdf547 Extras do not score points but still get tie breaker criteria 2015-12-30 15:13:09 +00:00
a3cf41918b Cache other pages that users will frequent 2015-12-23 15:29:32 +00:00
4bb81417a9 Fixed bug in test for quickest pin then fixed bug in quickest pin tie breaker 2015-12-17 14:48:07 +00:00
702a52311b Added most decision points and quickest pin to the tiebreakers 2015-12-17 14:03:14 +00:00
ae056ec7f8 Added when they last wrestled 2015-12-17 13:06:42 +00:00
e2966c0456 Fixed win displays for brackets 2015-12-16 12:51:32 +00:00
d48b1b573f Destroy matches on wrestler create not save 2015-12-15 13:25:23 -05:00
4a4dfde8bb Fixed model names 2015-12-15 08:30:13 -05:00
c9125527d7 Fixed pooladvance and updated views for when tournament ends 2015-12-04 13:26:32 +00:00
5898393fac Fixed bug in pooladvance and refactored 2015-12-03 20:27:38 +00:00
393326f24f Showing next bout number and mat on school show page 2015-11-19 13:46:58 +00:00
67727c6391 Testing team points for pool to bracket 2015-11-17 19:03:34 +00:00
61ed7c9d69 Renamed to pool bracket placement points 2015-11-17 16:42:16 +00:00
da6b95fed8 Placement points added need to test 2015-11-17 16:39:56 +00:00
328898f1e8 Tie breaker for team score 2015-11-16 16:59:08 +00:00
2e1f70803b Advance wrestlers after teampointadjust in case its added after the last match in a pool. Also added coin flip tie breaker 2015-11-16 13:51:01 +00:00
934ccc28ee Deducted points pool tie breaker added 2015-11-16 13:31:27 +00: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
R.J. Osborne
0e954c1789 Simplify construction a bit on some methods 2015-05-19 22:36:30 -04:00
R.J. Osborne
f6dd4e8625 Renamed boutNumber to bout_number to make the field consistent with the rest of the domain and database schema. 2015-05-17 08:13:52 -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
dd44efa869 Got stuff working with matches being saved individually. 2015-04-26 15:49:13 -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
9976fd5869 Added before save on wrestler and weight. Also fixed fourPoolNumbers for weight 2015-03-28 18:16:32 +00:00
43d7089b44 Associated wrestlers and tournaments through weights 2015-03-28 14:48:36 +00:00
d7bbd32460 Formatting code and deleting uneeded methods 2015-03-28 14:43:14 +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
5c015ba2d8 Fixed win percentage 2015-02-06 10:44:04 -05:00
ffebffab55 Calculated win percentage 2015-02-06 10:31:47 -05:00
7183935b60 Created 4 pool view without bracket. 2015-02-03 15:06:02 -05:00
0244d15a8b Generated bouts and rounds. Need to fix rounds for odd numbered pools. 2015-02-03 10:41:49 -05:00
7ea80b2997 Working on generating rounds in tournament model 2015-02-02 15:45:46 -05:00
9de0215a5e Pool matches generated 2015-02-02 13:07:08 -05:00
ba8ce0b73a Fixed wrestler.isWrestlingThisRound 2015-01-30 15:43:41 -05:00
ae4b2718b5 Working on Pool class 2015-01-26 13:40:25 -05:00
Jacob Cody Wimer
7f8718af35 Added matches scaffold and ascended views of weights and schools 2014-01-24 15:16:33 -05:00
Jacob Cody Wimer
24d9deee8b Added basic scaffolds for schools wrestlers and weights 2013-12-31 11:23:43 -05:00