Hacker Newsnew | comments | show | ask | jobs | submitlogin

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




Applications are open for YC Summer 2015

Guidelines | FAQ | Support | Lists | Bookmarklet | DMCA | Y Combinator | Apply | Contact

Search: