class PagesController < ApplicationController
def index
@players = Player.all
group_size = Player.count
@groups = Player.order(Arel.sql("RANDOM()")).each_slice
end