1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-24 17:04:43 +00:00

Commit Graph

  • 6756b86c18 Updated docker stuff Jacob Q Wimer 2015-09-29 11:06:30 -04:00
  • b35d202a61 Removed heroku from README Jacob Cody Wimer 2015-09-11 13:29:57 -04:00
  • 052eb1dd95 Updated views for matches Jacob Cody Wimer 2015-09-11 13:19:45 -04:00
  • 06635f3d46 Updated show for schools and weights Jacob Cody Wimer 2015-07-02 09:33:45 -04:00
  • 58ac150aaf Updated readme Jacob Cody Wimer 2015-07-01 15:20:56 -04:00
  • 1d7c9ee3ef Tested mat assignment during match generation Jacob Cody Wimer 2015-07-01 13:43:18 -04:00
  • bad21729bf Added a script for tmux windows Jacob Cody Wimer 2015-07-01 12:34:19 -04:00
  • c406f85a22 Ignore .rvmrc Jacob Cody Wimer 2015-07-01 08:41:06 -04:00
  • 12b55ba4ad Swapped tds in weigh_in page jcwimer 2015-06-30 18:15:21 +00:00
  • 6f3fbad6d3 Did not need indexes jcwimer 2015-06-30 18:11:28 +00:00
  • 5aecfe344b Trying to fix migrations jcwimer 2015-06-30 18:08:30 +00:00
  • a77066840e Migrated and updated schema jcwimer 2015-06-30 18:04:09 +00:00
  • 4d8ba9e7ee Added index for weigh ins jcwimer 2015-06-30 18:03:38 +00:00
  • ce2a7b28bc Created a weigh in page jcwimer 2015-06-30 17:59:02 +00:00
  • 5b17c49a20 Updated all links jcwimer 2015-06-30 16:56:36 +00:00
  • 0fddccf6f5 Cleaning up main tournament page and tournament controller jcwimer 2015-06-30 13:43:09 +00:00
  • 3f3cc7014b Fixed tests to include mats jcwimer 2015-06-19 19:57:42 +00:00
  • eaaa9fb6ba Updated up_matches.html.erb jcwimer 2015-06-19 19:30:44 +00:00
  • 1a0d9be2ce syntax in gemfile jcwimer 2015-06-19 19:10:56 +00:00
  • 3d35de6f68 Removed pg and Ruby version from gemfile for dreamhost jcwimer 2015-06-19 18:56:57 +00:00
  • 0fd3bd64fe Added a bout board jcwimer 2015-06-19 15:25:01 +00:00
  • 5364c3eee9 Match index uniqueness not required as wrestlers may match up again jcwimer 2015-06-19 13:42:51 +00:00
  • 54828f7761 Tests completed to check loser names for all pool bracket types jcwimer 2015-06-04 16:40:19 +00:00
  • d065e31818 Loser name generation was not saving. Fixed that and added a test. jcwimer 2015-05-28 12:24:46 +00:00
  • c69a33fbae Merge pull request #4 from rjo1970/master Jacob Cody Wimer 2015-05-28 07:39:19 -04:00
  • 284439e2cf Removed upcomingMatches because matches are an A-R relation of Tournament RJ Osborne 2015-05-28 00:25:14 -04:00
  • 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. RJ Osborne 2015-05-27 23:57:37 -04:00
  • 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. RJ Osborne 2015-05-27 23:29:51 -04:00
  • 25c92a125d Boutgen is dead. Tournaments can assign their own bout numbers. RJ Osborne 2015-05-27 23:04:17 -04:00
  • 902685ea51 Get us back to green on the tests. upcomingMatches doesn't (and shouldn't) change tournament state. RJ Osborne 2015-05-27 22:14:19 -04:00
  • 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. RJ Osborne 2015-05-26 15:09:48 -04:00
  • 20ef048f48 Poolbracket does not keep a matches collection RJ Osborne 2015-05-25 00:45:31 -04:00
  • c855da0e6e Ripped state out of Poolbracket Implicitly added tournament_id to matches generated by Poolbracket Removed explicit tournament assignment at save RJ Osborne 2015-05-25 00:07:55 -04:00
  • 091b7c4181 Cut the runtime by queueing the changes in memory and deferring database writes Made some unspecified behavior explicit RJ Osborne 2015-05-24 23:04:22 -04:00
  • 98879c16b9 Make sure the max weight is defined during tests RJ Osborne 2015-05-24 20:56:20 -04:00
  • 9d8e0850bc Refactored generating matches jcwimer 2015-05-26 18:27:55 +00:00
  • 81f233cb0e Added button to generate matches jcwimer 2015-05-26 17:53:53 +00:00
  • e62fb1a514 Merge pull request #3 from rjo1970/master Jacob Cody Wimer 2015-05-23 22:58:07 -04:00
  • bec751c4fd Added indexes on the frequent queries. The problem is still too many queries. RJ Osborne 2015-05-23 08:48:13 -04:00
  • 2a57cafd6d extracted wrestlers_for_pool method removed unnecessary select RJ Osborne 2015-05-23 08:07:11 -04:00
  • 23d8c4e159 remove another argument from roundRobin RJ Osborne 2015-05-23 06:38:55 -04:00
  • aec47ddf13 introduced a constructor for Pool and reduced arguments on roundRobin and generatePools RJ Osborne 2015-05-23 06:15:44 -04:00
  • 399923b949 removed the matches argument to generatePools and roundRobin RJ Osborne 2015-05-23 06:01:15 -04:00
  • 8177924635 move some variables to method scope RJ Osborne 2015-05-23 05:46:28 -04:00
  • 9d78cd52d2 Composed the poolToBracket method. It should simply read as an outline of how to do its job. RJ Osborne 2015-05-23 05:24:18 -04:00
  • 44ec0b55f0 introduced constructor on TournamentMatchGen RJ Osborne 2015-05-23 05:08:16 -04:00
  • 15d1d491f1 Merge remote-tracking branch 'origin/master' Jacob Cody Wimer 2015-05-22 15:37:36 -04:00
  • 4eea1f9ef0 added trello page to readme Jacob Cody Wimer 2015-05-22 15:37:20 -04:00
  • b356a35d9b Merge pull request #2 from rjo1970/master Jacob Cody Wimer 2015-05-22 15:21:43 -04:00
  • d0926420b2 extracting methods from test setup R.J. Osborne 2015-05-19 23:25:49 -04:00
  • 0e954c1789 Simplify construction a bit on some methods R.J. Osborne 2015-05-19 22:36:30 -04:00
  • 80dee9c234 An instance variable doesn't need to be passed around inside the class as an argument R.J. Osborne 2015-05-18 21:28:04 -04:00
  • b56d72c762 generatePools has a nicer arity R.J. Osborne 2015-05-18 19:37:13 -04:00
  • b6da441d54 Take a lot of weight arguments in generatePools R.J. Osborne 2015-05-18 18:59:43 -04:00
  • ecb4c3d7de Extracted a method R.J. Osborne 2015-05-18 18:38:39 -04:00
  • 7e913870ba Make sure the development database doesn't step on a Docker image build R.J. Osborne 2015-05-17 18:05:54 -04:00
  • be1991cad9 Removed sprockets-generated files from the repo R.J. Osborne 2015-05-17 17:33:46 -04:00
  • 202393ba50 Added sqlite3 for development comfort in the Dockerfile R.J. Osborne 2015-05-17 17:24:32 -04:00
  • 0965e9f27d Added example of how to mount the active work and do development inside the Docker image R.J. Osborne 2015-05-17 15:47:15 -04:00
  • 48162f1efc Merge pull request #1 from rjo1970/master Jacob Cody Wimer 2015-05-17 10:09:14 -04:00
  • acb1a225dd updated the db schema file to reflect the migration R.J. Osborne 2015-05-17 09:49:51 -04:00
  • 5b411a2311 Updated README instructions and fixed filename of my migration R.J. Osborne 2015-05-17 09:40:15 -04:00
  • f6dd4e8625 Renamed boutNumber to bout_number to make the field consistent with the rest of the domain and database schema. R.J. Osborne 2015-05-17 08:13:52 -04:00
  • f54937e9fe Fixed deprecation warnings from migrations R.J. Osborne 2015-05-14 20:03:06 -04:00
  • 932944ffc9 Added Dockerfile R.J. Osborne 2015-05-14 19:47:28 -04:00
  • d68e4bc54f got tests working and showed mats table if not logged in jcwimer 2015-05-05 19:10:17 +00:00
  • c2b96c2f22 Updated readme jcwimer 2015-05-05 14:02:38 +00:00
  • f8380a97b4 moved datatables back to cdn and precompiled assets jcwimer 2015-05-05 13:46:10 +00:00
  • 9cda32efb0 moved cdn under asset pipline in application layout jcwimer 2015-05-05 13:40:34 +00:00
  • d7cf388feb Added therubyracer to production jcwimer 2015-05-05 13:33:26 +00:00
  • ae05044a74 removed rails-sass jcwimer 2015-05-05 13:28:25 +00:00
  • 88acbda5e5 trying to get datatables to align properly jcwimer 2015-05-05 13:20:18 +00:00
  • ed1b774bf2 removed production seeding jcwimer 2015-05-05 13:19:57 +00:00
  • bedf221add precompiled assets for heroku jcwimer 2015-05-05 12:42:53 +00:00
  • 89e6a81bd1 Moved jquery and datatables back to asset pipline. Log out now works jcwimer 2015-05-05 12:39:15 +00:00
  • cf7b19838c Made new links buttons and moved them around Jacob Cody Wimer 2015-04-27 15:10:30 -04:00
  • e7bfad8df0 Auto creating of high school weights Jacob Cody Wimer 2015-04-27 14:58:22 -04:00
  • 19bd2ac8f8 Permit tournament_type in tournament controller. Jacob Cody Wimer 2015-04-27 14:15:28 -04:00
  • 3744ae2cf2 Added colon to tournament type on tournament show page Jacob Cody Wimer 2015-04-27 14:11:27 -04:00
  • 091945da7d Display tournament type on tournament show page. Jacob Cody Wimer 2015-04-27 14:07:20 -04:00
  • 37470d9602 Moved match generation to a class and added tournament_type to tournaments. Jacob Cody Wimer 2015-04-27 13:54:57 -04:00
  • 61d1240f0b Fixed noMatches page. Jacob Cody Wimer 2015-04-27 10:17:52 -04:00
  • 525a2948de View for no matches Jacob Cody Wimer 2015-04-27 09:57:08 -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. Jacob Cody Wimer 2015-04-27 09:50:41 -04:00
  • 6d39bcb868 Remove matchups_array Jacob Cody Wimer 2015-04-26 15:58:15 -04:00
  • dd44efa869 Got stuff working with matches being saved individually. Jacob Cody Wimer 2015-04-26 15:49:13 -04:00
  • 391e523b2e Updated instructions Jacob Cody Wimer 2015-04-26 14:25:51 -04:00
  • 0b73a8b5a5 Updated todo in the readme Jacob Cody Wimer 2015-04-26 14:24:42 -04:00
  • 143c04b6f5 Fixed query for schools show view Jacob Cody Wimer 2015-04-25 23:32:51 -04:00
  • d0d562ddf8 UpcomingMatches blows up if there are no wrestlers Jacob Cody Wimer 2015-04-25 23:32:33 -04:00
  • 63af7d00f5 Re-Added new school link Jacob Cody Wimer 2015-04-25 23:20:48 -04:00
  • b86211102b Revert "Revert "Moving away from matchups_array and saving matches individually"" Jacob Cody Wimer 2015-04-25 21:44:08 -04:00
  • 7b3fe2aaad Revert "Moving away from matchups_array and saving matches individually" Jacob Cody Wimer 2015-04-25 13:59:59 -04:00
  • 650a9ed7d6 Moving away from matchups_array and saving matches individually Jacob Cody Wimer 2015-04-25 13:51:16 -04:00
  • 5ecd2620e1 Gemfile.lock for passenger Jacob Cody Wimer 2015-04-22 09:54:12 -04:00
  • e431316e14 Switch to passenger Jacob Cody Wimer 2015-04-22 09:53:02 -04:00
  • 4fc10e82ec Fixed all_brackets page Jacob Cody Wimer 2015-04-22 09:00:16 -04:00
  • f1aa7384a1 Changed all scss files to css and precompiled assets. Jacob Cody Wimer 2015-04-22 08:54:33 -04:00
  • 63b7ecd9e6 Removed home link, the application title is the home link. Jacob Cody Wimer 2015-04-22 08:49:23 -04:00
  • 76050233d4 Change btn to btn btn-default Jacob Cody Wimer 2015-04-22 08:48:44 -04:00