Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Jamie Hill's Profile

GitHub User: thelucid

Site: http://thelucid.com

Comments by Jamie Hill

Avatar

In Rails 4 beta1, I'm getting a "HTTP/1.1 422 Unprocessable Entity" error when attempting a post request to an API. The controller is raising an ActionController::InvalidAuthenticityToken error.

Do I need to somehow disable request forgery protection for APIs?

Avatar

This could work nicely with Mongoid to create custom fields in MongoDB.

Avatar

I still maintain that you should be able to delete records in Rails by default when Javascript is not available, I've been banging on about this since 2006:

I must get around to implementing it as an Engine. I find it frustrating that you have to include the whole of jQuery on an app that doesn't otherwise require Javascript, just to let users delete records.

p.s. loving the Pro and Revised episodes Ryan!