Last Updated:

Ruby on Rails framework

Ruby on Rails framework

Rails is primarily a development environment that is perfectly suited for creating any type of web application: systems for managing websites and platforms for e-commerceprograms for organizing collaboration and for web services for communication, for accounting and ERP systems, statistical and analytical systems.

Ruby on Rails (RoR or Rails) is a multi-level MVC framework for building web applications using relational and NoSQL databases (for example, MySQL, MariaDB, PostgeSQL, MongoDB). The framework is written in the Ruby programming language. Rails is suitable both for the development of ordinary sites, which should be really fast, fault-tolerant and working under high load, and for web applications with complex business logic and dynamic web-interfaces. Ruby on Rails is open source software and is distributed under the MIT license.

Professional developers

It is worth noting the fact that mostly professionals work in the Ruby programming language: the entry threshold is quite high, so programmers in Ruby usually come after several years of working in any other programming languages (most often from the PHP world). Therefore, even a novice Ruby programmer is an experienced web developer with a large stock of knowledge and experience. For the Ruby language, the most popular framework is Rails, more than 90% of web applications that are written in Ruby use Rails.

Ruby on Rails development culture

The main principles of Rails development are:

  • The principle of DRY (Don't repeat yourself) is a framework that provides mechanisms for reusing program code. This allows not only to minimize code duplication, but also to increase the speed of development.
  • Convention over configuration principle – By default, the framework uses numerous configuration conventions that are typical for most applications. This makes it very easy to create applications, as an explicit configuration specification is required only in non-standard cases.
  • Automated Testing – RoR provides tools for fully automated unit, integration, and functional testing, and the Ruby on Rails ideology involves the use of Test Driven Development (TDD) methods. All this makes the developed applications really reliable.

Extensibility of the Ruby on Rails framework

Ruby on Rails has developed a large ecosystem of plug-ins with open source code ("gems", gems), which implement the most popular functions. "Jams" are very different: from low-level, responsible for some aspect of the internal operation of the application, to high-level, which are separate modules for solving a whole range of business tasks. The use of a system of plug-ins is largely the reason for the high popularity of the framework - the ability to selectively connect individual components and libraries greatly speeds up development, and the fact that the extensions used are good tested and debugged over the years, ensures the reliability of solutions developed using this approach.

Myths about the Ruby language and the Ruby on Rails framework

  1. "No developers." Myth. The developers are there. Of course, there are fewer of them than in PHP, but the average level is "head and shoulders" higher - a lot of those who call themselves php-programmersare actually just layout designers with a superficial knowledge of the programming language who are not able to write even the simplest web application. If you compare Ruby with Java, the number of developers is comparable, and in comparison with .NET, Python and Perl are a Ruby developerin the larger.
  2. "Very expensive." - Myth. Good web programmers are generally expensive, regardless of the language and development platform. The level of salary of a PHP programmer and a Ruby programmer is comparable, if the first and second are able to write a program more complex "Hello, world!", work on frameworks, know OOP, the MVC paradigm, and also have experience in the field for more than 3 years.
  3. "Slow" and "Unscalable." Myths. GitHub, Groupon, Basecamp, Twitter, and many more projects with thousands of attendance use Rails: they work quickly, withstand loads and scale perfectly.

Reviews of the Ruby on Rails platform

— Rails is the killer app for Ruby. Yukihiro Matsumoto, creator of the Ruby language
— After researching the market, Ruby on Rails stood out as the best choice. We have been very happy with that decision. We will continue building on Rails and consider it a key business advantage. Evan Williams, Creator of Blogger and Twitter
— Powerful web applications that formerly might have taken weeks or months to develop can be produced in a matter of days. Tim O'Reilly, founder of O'Reilly Media


We develop web projects in Ruby on Rails and consider it right to choose this platform for developing really complex solutions. A few more business-relevant reasons to choose Ruby on Rails to develop a web application or website.