Added #winrate_per_class to Match model
Moves stats filter to partial
Fixed a bug in mode_seeds
- Created a ransack search form for constructed stats filter
- Moved some methods from controller to model. Saved 30 sql queries
Added comment for clarity
Defined classes in Klass. They will never change. Saved 90 queries.
Fixed user spec
Fetch match results in 1 swoop in stead of per result per oppclass. Saves 234 queries. ( 9 for 243 )
Rewrite to just get count(*) from DB and not instantiating all objects in an array just to get the length
winrate_per_class should return an array
Make some demo decks active
added powrc and ruby-version to gitignore
small improvements
return N/A if there are no games
Fixed klass ordering
Merge pull request #240 from gerard-leijdekkers/constructed_stats

Constructed stats refactor
fixed openings email url
fixed klass list order
Fixed class_seeds ordering