Yes Ruby on rails being used widely because the syntax of Ruby means that it is simple to use yet can still be used to accomplish relatively complex programming tasks. Rails applications can also cope with high loads which make it ideal for use in a situation where you need to deploy an application fast. As well as having the development time cut down, Ruby code is optimized to help ensure the final product will be able to cope with the pressures of a high-use environment. Like PHP, Ruby on Rails is an open source scripting language meaning that it is free to use even in commercial environments.
And main benefit- Ruby on Rails is a popular scripting framework that is used to develop scalable web applications. The Ruby scripting language has been around since 1995, although it is only in recent years that Ruby on Rails has really started to make pathways in the world of web development and is now being used as a replacement for PHP by some web developers. Like most scripting language, Ruby on Rails will allow you to create a dynamic website that has the added benefit of database interaction.