Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 3 compatibility #1

Closed
gertig opened this issue Nov 12, 2010 · 2 comments
Closed

Rails 3 compatibility #1

gertig opened this issue Nov 12, 2010 · 2 comments

Comments

@gertig
Copy link

gertig commented Nov 12, 2010

My issue is actually in relation to session[:session_id] so quite likely not a pusher gem problem. But was wondering why you don't have any Rails 3 demo apps.

@ismasan
Copy link
Contributor

ismasan commented Nov 13, 2010

Hi Andrew.
There's nothing Rails-specific about the Pusher Gem, and we do use it in some Rails 3 apps without issues. I would need to have a bit more context wrt your code. An obvious question would be: are you setting that :session_id key? AFAIK it won't be set automatically. Does session handling work in general in your app?

@gertig
Copy link
Author

gertig commented Nov 16, 2010

Solved! I had changed the name of the channel in the pusher-presence-demo app and did not realize until reading the Pusher documentation more closely that the channel name needed to be of the format "presence-something".

Once I had resolved this issue the session_id was then set by Pusher in the return.

Thanks!
Andrew

jameshfisher pushed a commit that referenced this issue Apr 21, 2018
Sync fork with upstream
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants