Rails returning 422 when POSTing?
Submitted by Duncan Bayne on Thu, 2009-12-17 10:39
If you're POSTing to a Rails app and getting an HTTP 422 error in response, you probably just need to disable forgery protection on the action to which you're posting. Greatly appreciative hat tip to Ethan Vizitei for this one.



Recent comments
1 week 22 hours ago
3 weeks 3 days ago
3 weeks 6 days ago
11 weeks 20 hours ago
15 weeks 5 days ago
31 weeks 10 hours ago
31 weeks 16 hours ago
37 weeks 3 days ago
37 weeks 3 days ago
37 weeks 3 days ago