Not sure why the creator of this didn't post this, but here is a working version of this episode for Rails 4. https://github.com/nynj/angular-railscasts-rails4 A summary of the differences:
1. Add in strong parameters in the the entries controller
2. add in csrf-tokens in the coffeescript
3. keep jquery in application.js. Not sure why this is needed, but I had to keep jquery in.
Not sure why the creator of this didn't post this, but here is a working version of this episode for Rails 4. https://github.com/nynj/angular-railscasts-rails4 A summary of the differences:
1. Add in strong parameters in the the entries controller
2. add in csrf-tokens in the coffeescript
3. keep jquery in application.js. Not sure why this is needed, but I had to keep jquery in.
I was having this problem and this is the answer I found.
http://stackoverflow.com/questions/11762401/rubber-2-fog-and-keypair-error