Ruby on Rails announced the first release of Rails 5 beta, which includes a new framework for handling WebSockets also called as Action Cable.
WebSockets includes an EventMachine-powered connection loop, a thread-backed channels layer for server-side processing and a JavaScript layer for client-side interaction.
Basecamp 3 is already running Rails 5 beta with all features including Action Cable. Basecamp is a web based project, task and time management group.
In order to run Action Cable, Rails has switched the default development server from WEBrick to Puma. As far as production is concerned, Rails suggested running Action Cable servers in the developer’s own process, which is how Basecamp runs at scale.
Th inroduction of API mode is one of the core feature of Rails 5. If you build a Rails application using the new back-end API, a configuration will be created that assumes the developer will be working with JSON and not HTML.
Some of the other important features of Rails 5 are a new Attributes API, test runner. As of the time of this writing, 789 developers have contributed to Rails 5.0.