Hacker Newsnew | comments | show | ask | jobs | submit login

I use this technique on Heroku for my oauth requests and it works well. One downside is that your responses have to interface directly with Rack, and you lose out on all the functionality in Rails and the middleware stack.

To account for this, I created a controller mixin to recreate the middleware stack for responses:

http://www.jonb.org/2013/01/25/async-rails.html




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: