Ruby on Rails, popularly known as ROR, is regarded as the most popular open source web application framework that assists in building dynamic web applications. From time to time, various versions are launched like 1.0, 2.1, 3.1 and so on, each comprising of distinguished features. In June 25th, 2013, the 4.0 version was introduced that encompasses a number of exciting and innovative features. These features help the developers immensely in creating workable code for developing user-friendly websites.
Main Characteristics of Ruby on Rails 4.0
- Live Streaming- It is one of the major as well as promising features in Rails 4. It allows developers to stream data to the browser easily without relying on Juggernaut or Node.js server.
- Russian Doll Caching - Rails 4 employs new way of storing caches which is referred as key based cache expiration. It refers to a technique of nesting cache fragments for maximizing the cache hits.
- Tuborlinks- Tuborlink is another feature that assists in speeding up Rails application. It is considered as a piece of JavaScript, which only fetches the relevant content and replaces it when a response comes in, instead of reloading the whole page.
- Declarative ETags- Ruby on Rail 4 allows developers to set controller-wide ETag (entity tags) suffixes. The technique is beneficial especially when action depends upon authenticated user.
- Security Issue- Previous versions of Rails were exposed to several exploits. While designing the application, special care has been taken with regard to security.
A leaner core is created by pulling off functionalities like page and action caching, observes and session store and creating other optional components and splitting them in gems and these are some other features of Ruby on Rails 4.
So, upgrade your knowledge and keep yourself abreast with the latest development in application framework by using the latest version of Ruby on Rails.