DEV Community

Discussion on: Laravel Or Ruby on Rails 2021?

henriquefernandez profile image

Ruby on Rails. I've used both professionaly.

  • Ruby on Rails is much more mature, productive and the framework "just works" as expected.
  • Ruby is far less verbose as PHP, and it matters a lot when you are writing or debugging your app in a interactive console like Pry.
  • Code keeps much more concise and Rspec is the best testing framework created until now, in my opinion.
  • Ruby 3 has 3 times more performance, true concurrency, pattern matching and RBS.
  • Rails 6 has incredible support for the new "Hotwire" framework by Basecamp, it means that your app will flow like a SPA and works in IOs and Android with much less effort.
  • Rails has the best code generators.
  • Ruby on Rails is a battle proven tool used by Shopify, Github, Airbnb and a lot of big companies in high scale.

And the list can grow and grow...

Ruby on Rails are the most underrated tool i know.

Laravel has a nice architecture, but is built upon PHP and much of its features are just a weird copy of Rails community, like the built in Auth. Devise is far better.

farhaduneci profile image
Farhad Uneci Author

❤ Thank You for your comment,
I have no background with Ruby but it has been a while since I've started learning Ruby, all I can say is that it's perfect and I believed thier claim "A dynamic, open-source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write."