DEV Community

Alex Riley
Alex Riley

Posted on • Updated on

Ruby on Rails Still Popular ?

Is Ruby on rails still in existence or not?
Contents

Ruby on Rails

There have been various blogs, articles expressing their views towards ruby on rails. Some say ruby on rails is outdated, some say ruby on rails has no future, some say RIP ruby on years. Do you also think that ruby on rails is dead? If yes, then you may be partially right. Let’s see why? But before that let us understand what is ruby on rails?

What is Ruby on rails?

Ruby on Rails is a dynamic, general-purpose framework and not a language. But many businessmen and non-technical people get confused between ruby and ruby on rails. Ruby is a programming language and ruby on rails is a web development framework that is used along-side ruby on rails web development framework. Ruby became popular after the launch of ruby on rails. Rails were launched in 2004 and it played a major role in ruby winning an award for the best programming language by Tiobe in 2006. Rails works on the MVC principle which divides the work of the application into three models.
Model: Rails classes are models that interact with the database, store data, handles validation, transaction, etc.
View: View shows data in a particular format in an application to the user. It follows the instructions from the controller.
Controller: Controller instructs traffic to models and views. It queries the models for specific data and also organizes the data into a particular view.

Why many articles and blog have headline stating that Goodbye Ruby on Rails?

It has been 16 years since rails was launched in 2004. The thoughts have arised due to the following issues:

1)Sluggish Performance: Rails have slower runtime when compared to other frameworks like Node.js. But this only comes to notice when the application is large and traffic volume is high. However, it doesn’t mean that rails is to be blamed for the issue. As rails offer so many functionalities which makes life easier for developers, but sometimes developers write bad code which affects the performance of the platform. Developers behind the platform are aware of the slow speed are continuously working on updates to improve its performance. Airbnb and Github were developed using Ruby on Rails.

2)Scalability: This issue was raised when one of the most popular social media platforms Twitter moved from rails to Scala. But that’s not the complete story. Scala is based on java and was more suited to the Twitter requirement as it has huge real-time messaging traffic. Rails on the other handrails offer scalability in the form of code optimization, service-oriented architecture, and horizontal scalability. So here it is really crucial to identify the element that is causing the issue instead of blaming rails completely.

3)Quite old: When rails released in 2004 it became very popular and it also helped ruby to achieve similar popularity but as the years passed and a new framework came into the market the hype which was created initially died slowly. Rails have become mature which means the framework is stable and its code is no longer written in a trendy way like other frameworks but the code is refined and still can develop some useful web applications. Moreover, changing the technology like might not serve the purpose and become profitable and cost-saving as it turned out for Twitter. But the requirement of twitter was different. So adapting to different technology even though ruby serves the purpose just because the other technology has created hype is not a good decision.

Ruby on Rails Popularity

Ruby on rails popularity over time

Ruby is behind popular frameworks like angular.js, angular, Laravel but ruby on rails is used by 7% of developers worldwide according to Statista.

Most used web frameworks among developers worldwide, as of early 2020

Ruby on rails is mature and versatile and is most popular among small businesses and start-up businesses. According to monterail ruby on rails tops the list there is around 1692 ruby on rails development jobs on LinkedIn and there are approximately 1276 jobs on indeed. So if you think rails is dead then why managers are looking for a ruby on rails developer? Ruby on rails works best for fast and quick development with budget and time constraints. E-commerce solutions, social media apps are built on ruby on rails. Hire ruby on rails developers to develop your own web app. Ruby on rails brings the following benefits with itself i.e.

1)Cost-saving: Ruby on rails runs on Linux which is open-sourced and free to use. It offers a variety of plugins that can save developers time and effort.

2)Easy Modification: With ruby on rails it is easy to make changes to an existing site or to add additional features to a site. As the framework Is stable and predictive it is more suitable for long-term projects.

3)Security: Some security measures are built within the framework and are activated by default. Moreover, the rails community actively works towards addressing new vulnerabilities and the result is that the framework is well documented officially.

4)Performance: Sometimes an app built on ruby on rails can experience performance issues, however, this could be due to code not optimized, so an experienced developer can optimize the code and improve the performance of the app. Moreover, the ruby community is pretty big and experienced they generally can provide guidance. The community also works on improving performance and releasing updates to improve the performance

5)Productivity: Ruby is a clear language, when it is combined with 3rd party libraries, it allows you to develop features incredibly fast. It is one of the most productive programming languages around.

6)Consistency: Developers follow a set of rules for file storage and programming conventions that keep a project clear and readable which saves time.

Conclusion

Ruby on rails is not dead and is still the most popular framework among developers. It is still one of the most popular framework languages on GitHub. It may not be suitable for large and complex businesses however it definitely serves the purpose for start-ups and small businesses with a limited budget.

Top comments (0)