RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: tdubb
So this railscast is great but I ran into problems with the config/initializers/doorkeeper.rb file. Instead of getting to the authorization pages I was redirected to the provider site homepage. I was able to fix this by using all the code shown here
Great comments, especially Sergey and Adrian's comments helped me get mine working. I put a clear winner button. Here's the code:
$scope.clearWinner = ->
angular.forEach $scope.entries, (entry) ->
entry.winner = false