Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Ben Pellow's Profile

GitHub User: workingBen


Comments by Ben Pellow


I had this issue as well. Move the code into a helper and you'll be good to go. Sorry if that's outdated but if anyone else google's this at least they have an answer.