Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

eric-hu/AsyncSinatra-Rails-session-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is just a demo project for a StackOverflow question, to demonstrate an
issue I have with making asynchronous calls to outside the application.  For
a more detailed explanation, please see the question:

http://stackoverflow.com/questions/6688985/async-sinatra-in-rails-async-actions-cant-write-to-shared-session

to run this app, use Thin:

rails server thin

pages of interest:
localhost/  #Rails
localhost/sinatra/local  #Sinatra
localhost/sinatra/goog   #Sinatra sending an Asynchronous request to Google

About

a minimal Rails application made specifically to demonstrate a sinatra/rails/eventmachine session problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published