Should you use Ruby on Rails in 2024?

Поділитися
Вставка
  • Опубліковано 5 лип 2024
  • It’s great to see a resurgence of the framework responsible for so much internet goodness related to SaaS and web applications. It inspired me to make a somewhat biased but fair round-up of reasons to consider Ruby on Rails in 2024.
    This post's ultimate TL; DR is that now is as good a time as any to use Ruby on Rails. I’ve fallen in love with the framework and am here to present reasons that might make you consider adopting it in 2024.
    Timestamps:
    00:19 - What is Ruby on Rails?
    01:26 - 10x developer productivity
    02:09 - Prototype rapidly
    02:59 - Ruby on Rails CAN scale
    03:35 - Job opportunities
    04:53 - Cross-platform compatibility
    05:38 - ActiveRecord ❤️
    06:40 - Built-in Testing Frameworks
    07:32 - Straight-forward RESTful API development
    08:15 - Ruby ❤️
    09:15 - Strong open source community
    10:17 - Agility and Flexibility
    11:02 - Integration with front-end frameworks
    11:43 - Growing solutions for easier UI/UX design (shameless plug for railsui.com 🙃)
    13:25 - Recap
    ======
    👋 I'm Andy Leverenz, a passionate product designer and developer. I love creating and sharing my knowledge through design, coding, and writing. Join me on my journey by checking out my blog, Web-Crunch (webcrunch.com), where I publish tutorials, articles, and the occasional vlog about design and development.
    📰 Never miss an update! Click here to subscribe: ua-cam.com/users/webcrunc...
    💻 Read the written version:
    webcrunch.com/posts/should-yo...
    💎 New to Ruby on Rails? Enroll in my course HELLO RAILS:
    hellorails.io
    💻 The Blog (my source of truth): webcrunch.com
    Additional Links:
    🎨 Bring life to Rails projects with Rails UI: railsui.com.
    👨‍💻 Hire me: Visit: railsui.com/custom
    🐤 / webcrunchblog .
    ⚙️ github.com/justalever.
    P.S. This stuff takes a long time to make but I love to do it. To help me keep at it consider supporting me. If not monetarily, then subscribe to the channel or share it with someone!
    ✨ github.com/sponsors/justalever
    ☕️ www.buymeacoffee.com/webcrunch

КОМЕНТАРІ • 74

  • @bradchellingworth5973
    @bradchellingworth5973 4 місяці тому +63

    Rails is still the best web framework Ive ever used and I continue to use it each and every day. The speed of development, the ease of debugging, and the fact that you can look at a project you built 10 years ago and it s still pretty much the same fundamentals today. This is a huge factor given how often things change with web frameworks these days.

    • @jeromesimms
      @jeromesimms 4 місяці тому +1

      If you know about Django, how would you say that Django compares to Ruby on Rails?

    • @DevlogBill
      @DevlogBill 2 місяці тому

      Is Rails good at creating Restful API's? I am thinking about trying it out rails as the backend for my React project. Just curious to see how that works? Also considering maybe GO. Trying to figure out which would be the quickest in creating my personal project.

  • @nitrosnowbs
    @nitrosnowbs 4 місяці тому +20

    i had to use node for a couple of years now and i have to say that coming back to rails is such a joy! i am so much more productive! :)

  • @formigarafa
    @formigarafa 4 місяці тому +10

    I've forgot to ask this question before 2024… again... since... I don't know, years. And no regrets.
    I honestly have the theory that Rails will never become popular because you just don't need many developers to do the job with Rails. It is just too productive.

  • @NinjaBranDizzzle
    @NinjaBranDizzzle 4 місяці тому +4

    Much love! Thanks for your time!

  • @BenjaminMahmood
    @BenjaminMahmood 2 місяці тому +1

    Thanks for your perspective, really helped me alot with my decision on what to learn. So I will go with Rails! And I love your Rails UI Project! That's one thing I felt is missing for rails, a modern UI package

    • @Webcrunch
      @Webcrunch  Місяць тому

      Glad it was helpful!

  • @franciscobrito1243
    @franciscobrito1243 3 місяці тому +3

    Good video!
    I started learning Rails eight months ago, it is a very broad framework so the learning curve was steep for me. But it didn't take me long to love it, it helps you a lot to generate quality and robust code, personally I think there is going to be a renaissance of companies using Rails in the coming years.

    • @Webcrunch
      @Webcrunch  3 місяці тому +2

      Totally agree. I see it already happening.

  • @thiagomrvieira
    @thiagomrvieira 2 місяці тому +2

    Great video. I also come from the PHP world with Laravel, and having studied Rails quite a bit, I can see many similarities between both ecosystems. I have around 8 years of experience with PHP, and in recent years, I've been flirting with Rails. However, as you mentioned, many Rails developer positions require a bit more experience with the ecosystem. I can indeed write a REST API in Rails with testing and good practices overall, but I feel that my stronger foundation with PHP often weighs more heavily when applying for Rails positions. Anyway...
    In the meantime, I'll continue studying and hope to transition to Rails in the coming months.

    • @tofuman9526
      @tofuman9526 19 днів тому

      How's your perspective on Rails .vs Laravel for building SaaS and side-projects? not for job hunting.

  • @FabrizioAzzarri
    @FabrizioAzzarri 4 місяці тому +1

    Absolutely Yes

  • @dencam
    @dencam 4 місяці тому +4

    Yes, you should use now more than ever.

  • @iamjustine1
    @iamjustine1 4 місяці тому +1

    thanks for this man! more videos

  • @piotr-nowak
    @piotr-nowak Місяць тому +2

    Cool... I'm a PHP guy, but hmy.... I'll have to think about it - what you say sounds encouraging to at least give it a try:D

  • @sujit_webdev
    @sujit_webdev 3 місяці тому +1

    Thanks for this helpful video! I am a React dev and absolutely hate working with it now. I have a feeling I would never be a good web dev with React and it is better that I switch to something else. I want to ask how can we have good UI components in Rails like we have Material UI in React ?

    • @Webcrunch
      @Webcrunch  3 місяці тому +3

      It's still early on the UI front. I'd argue React has Rails beat right now in terms of UI components. I'm working on Rails UI (railsui.com) right now to help address this but there's been a surgence of other UI solutions for rails out there as well.

    • @sujit_webdev
      @sujit_webdev 3 місяці тому +2

      @@Webcrunch Thanks for your valuable response! I will follow railsUI updates and wish this a success

  • @DevlogBill
    @DevlogBill 2 місяці тому +2

    I am really trying to stay away from JavaScript for the backend. I've been considering Ruby on Rails for a React project. How good is Ruby when it comes to creating a Restful API? Just curious to see how quickly you can create one?

    • @Webcrunch
      @Webcrunch  2 місяці тому

      Rails is great for APIs. You can even create an API version when scaffolding a new app which ignores the view layer. This option is designed for apps that just want the backend and you bring your own frontend with React or similar.

    • @DevlogBill
      @DevlogBill 2 місяці тому +1

      @@Webcrunch Thanks Webcrunch I will soon try out Rails to see the developer experience is for me. I heard story about starting a brand new project can be painful but I also heard once you pass this step that things are much easier. I will what my experience will be for me thanks once again.

    • @belphegor_dev
      @belphegor_dev 11 днів тому

      You have it backwards. Starting a new Rails app is easy but gets more and more painful the bigger and more complex it gets. ​@@DevlogBill

  • @waishnavdeore
    @waishnavdeore 4 місяці тому +1

    Great video man,
    Could you please make video/blog on full text search functionality using postgresql tsvector datatype?

    • @Webcrunch
      @Webcrunch  4 місяці тому +1

      Thanks! Will try for that.

  • @someonewhowantedtobeahero3206
    @someonewhowantedtobeahero3206 3 місяці тому +2

    I am trying to learn it at my job but my goodness is the Ruby syntax difficult to read compared to TS/Java. Too much abstraction.

    • @Webcrunch
      @Webcrunch  3 місяці тому

      It's a very loose language! Definitely pros and cons.

  • @danielb.2873
    @danielb.2873 16 днів тому +1

    I stumbled upon Rails UI just a few days ago and I have to say it's a great idea and a good beginning. And now I've stumbled upon this video of its creator, lol. Wanna talk about how to improve Rails UI?

    • @Webcrunch
      @Webcrunch  16 днів тому +1

      Hey! Always open to feedback and yes, plenty to do and expand on with Rails UI. I'm over on Twitter "railsui_" if you want to DM me.

    • @danielb.2873
      @danielb.2873 16 днів тому +1

      @@Webcrunch I have a deadline tonight and I think I'll rewrite my app completely using Rails UI now but we can talk on the weekend. Then I'll also have more first-hand experience using it

  • @djlclopez128
    @djlclopez128 Місяць тому +1

    @Webcrunch Since you are a experienced Ruby developer, where can aspiring developers learn Ruby? I only know of some older classes on Udemy and codecademy, do you have recommendations?

    • @Webcrunch
      @Webcrunch  Місяць тому +1

      I honestly learned best by trying to build something from scratch. I went backwards and started learning Rails before Ruby and along the way (it took a while) I learned ruby and then things just started clicking over time. You learn to spot bugs and errors and know immediately what to do. This was all before AI tools too, so it was even harder 😆

    • @belphegor_dev
      @belphegor_dev 11 днів тому

      Read the documentation and start building.

  • @karlsour500
    @karlsour500 4 місяці тому +4

    great video.
    i was learning rails but in my country jobs opportunity with rails is impossible. but maybe searching a remote job i can work with rails

    • @Webcrunch
      @Webcrunch  4 місяці тому +4

      Definitely a lot of remote roles out there. Right now things are wild but as economic conditions improve over time (hopefully) more opportunities will show up.

    • @Ari-lv8nc
      @Ari-lv8nc 3 місяці тому

      Same , I'm in the middle east and it's almost impossible to find a company that hires for rails positions , mostly because you can't people who know railsso I'm skipping learning it , I'm not going to risk it so i found an alternative to rails/hotwire which is adonis.js for backend and htmx for server reactivity plus alpine.js for client side reactivity
      🙂 but i do wish to try rails and get a job with it

  • @tofuman9526
    @tofuman9526 22 дні тому +1

    Thoughts on Laravel? Have you experimented with it?
    It has a cool ecosystem it seems that has a good package for including Paddle. Is adding Paddle to Rails is also ez-pz?

    • @Webcrunch
      @Webcrunch  10 днів тому +1

      I'm defintely a fan and also jealous of the Laravel ecosystem. It was inspired by Rails early on and rocketshiped thanks to Taylor and the crew behind all the magic there.
      When I was initially looking for a framework, it was a toss-up between Rails and Laravel. However, I couldn't bring myself to write more PHP code after my WordPress days, so I chose Ruby and never looked back.

  • @slimakfoto
    @slimakfoto 4 місяці тому +1

    Yes, you should. 😊

  • @trevordev555
    @trevordev555 3 місяці тому +1

    .NET developer who has started working with Ruby and Rails full-time now its all a bit strange to me but what is obvious is just how mature it is even now with dotnet core tooling the .NET eco system doesn't have the mature feeling of tooling and web frameworks but what has impressed me the most is the passionate community Ruby/Rails developers generally seem much happier :-)

    • @Webcrunch
      @Webcrunch  3 місяці тому +1

      It's definitely a joy to work with in my opinion. I think that's by design. I'll refer back to the doctrine often and find it resonates with my own views a lot rubyonrails.org/doctrine

    • @mistert1628
      @mistert1628 3 місяці тому

      ​@Webcrunch I watched DHH's documentary such an inspiring guy I can see how and why the Rails community is what is today.

  • @LoneIgadzra
    @LoneIgadzra 2 місяці тому +1

    "Convention over configuration" is I think over-explained and misunderstood these days. Many web frameworks now target this as far as they are able, but there are degrees. Most JS frameworks do not include an ORM or testing framework, for example. The environment in which these frameworks is exist is just too volatile. Rails aims to include absolutely *everything* you would need to make an MVP - especially including the ORM - with no developer decision to be made other than on how to build value.

  • @rpf23543
    @rpf23543 2 місяці тому

    For sure! Yes! I’m tired of Devs thinking they always have to start a new trend and follow it. Like, AI pops up and every UA-camr is going to make a video about if and how we will be replaced.
    Ruby and Rails is more up to date as ever.

  • @freaklore
    @freaklore 3 місяці тому +1

    RoR is solid there are others like Phoenix with Elixir and Trongate with PHP.

    • @Webcrunch
      @Webcrunch  3 місяці тому

      Really want to give Phoenix a go soon!

  • @noisycarlos
    @noisycarlos 3 місяці тому +1

    I actually had better luck installing rails in my Windows machines than in my Macs for whatever reason. And that's not even using the Linux subsystem, just straight Windows.

    • @dmons24
      @dmons24 2 місяці тому

      In commercial projects it would be hardly possible due lot of dependencies. WSL is a great option for Windows user.

    • @noisycarlos
      @noisycarlos 2 місяці тому

      @@dmons24 that's fair. My main development machine is on Linux, but I've installed Rails on all 3 OSs (and had at least some issues in all of them at some point).
      I'm just saying that for whatever reason, MacOS gave me the most trouble, even more than Windows.

  • @iopyrb
    @iopyrb 4 дні тому

    i use it until now, idk it just fit on me

  • @bloqDev
    @bloqDev 3 місяці тому

    Yes, you should

  • @MikesMidnightWhispers
    @MikesMidnightWhispers 2 місяці тому

    as a beginner. rails has made crud inCRUDbly easy. so far nothing has come this far.

  • @slavapol-v1553
    @slavapol-v1553 3 місяці тому +1

    It is time to switch to Phoenix

    • @Webcrunch
      @Webcrunch  3 місяці тому

      Sell me on it. I'm intrigued but haven't had the time to dive in.

  • @jarnalyrkar
    @jarnalyrkar 3 місяці тому +3

    Come to Laravel, we have Lamborghinis!

    • @Webcrunch
      @Webcrunch  3 місяці тому

      😅🔥

    • @et_matrix
      @et_matrix 3 місяці тому +1

      Why Laravel when there is Lucky from Crystal?

    • @Webcrunch
      @Webcrunch  3 місяці тому +1

      Lucky looks great. I'll have to give it a go.

    • @et_matrix
      @et_matrix 3 місяці тому

      @@Webcrunch It's not a new technology for Rails devs. I am also learning it. Give it a try!. You won't regret

    • @reynolrodriguez4982
      @reynolrodriguez4982 3 місяці тому

      We have paganis

  • @anilaeus
    @anilaeus 4 місяці тому

    Honestly Laravel is better than rails on most part. First party support and available packages is really nailing it.

    • @rukasu-se
      @rukasu-se 4 місяці тому +7

      You might be right ! But the Ruby language is just so clean, it's hard to go back to PHP.

    • @Webcrunch
      @Webcrunch  4 місяці тому

      Laravel's ecosystem is great for sure. Ruby as a language keeps me hooked with the Rails side. I'm predicting Rails catches up here soon enough.

    • @maxralph01
      @maxralph01 3 місяці тому +1

      Fun fact: Laravel was inspired by Ruby on Rails.
      But the copy (Laravel) is now better than the original (Ruby on Rails).

  • @GUYSurvive
    @GUYSurvive 18 днів тому +2

    YOU ABSOLUTELY SHOULDN'T STOP TRYING TO REVIVE A DEAD BROKEN ZOMBIE HORSE