RailsCasts Pro episodes are now free!

Learn more or hide this

dgerbs's Profile

GitHub User: dgerbs

Comments by

Avatar

I would add

ruby
entry.$update()

after "entry.winner = false" to persist the action