RailsCasts Pro episodes are now free!

Learn more or hide this

Casey Wilson's Profile

GitHub User: case-dubs

Site: www.caseywilson.me

Comments by Casey Wilson

Avatar

Just an fyi, for ruby 2.0 the syntax for the pick_winner task is User.order('random()').first (vs. User.find(:first, :order => 'random()')