The latest version Rails 5.0 has come up in the market and we can say it is the perfect release till date . This version has come up with new framework for handling web sockets and support for API mode.
Action cable access to Active record and RORO domain model in Websockets work. A new rendering feature has been included in this framework, ActionController::Renderer that can render the templates outside of controllers, so you can reuse the server-side templates for websocket responses.
Action-cable during development stage runs in-process with rest of the app . To support this feature Rails have switched from default development server from Webrick to Puma. Action Cable servers can run on their own processes during development stage. That’s how we run it at Basecamp at scale.
Support for API mode