4cc1a2f ^
9a2d1bb ^
1 2
3 4 5 6
7 8
class PagesController < ApplicationController def index @players = Player.all group_size = Player.count @groups = Player.order(Arel.sql("RANDOM()")).each_slice end end