30 Dec '15, 10am

ActionCable Devise Authentication

The websockets server is running in a separate process from the main Rails application which means you need to authenticate your users there too. In the example app , David used a simple cookie based authentication in the app itself and re-validated the cookie at the websocket connection. This is good for demonstration, but many of the Rails based apps are using Devise for authentication so I want to share, how I solved the authentication with Devise.

Full article: http://www.rubytutorial.io/actioncable-devise-authenticat...

Tweets

Unlocking the ‘Devise’ Gem: Devise is a powerfu...

rubyflow.com 21 Dec '15, 5am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Stream Comments with Rails 5 and ActionCable

rubyflow.com 28 Dec '15, 6am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...