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
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.
If you know about Django, how would you say that Django compares to Ruby on Rails?
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.
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! :)
Great to hear!
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.
Much love! Thanks for your time!
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
Glad it was helpful!
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.
Totally agree. I see it already happening.
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.
How's your perspective on Rails .vs Laravel for building SaaS and side-projects? not for job hunting.
Absolutely Yes
Yes, you should use now more than ever.
thanks for this man! more videos
You got it!
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
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 ?
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.
@@Webcrunch Thanks for your valuable response! I will follow railsUI updates and wish this a success
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?
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.
@@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.
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
Great video man,
Could you please make video/blog on full text search functionality using postgresql tsvector datatype?
Thanks! Will try for that.
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.
It's a very loose language! Definitely pros and cons.
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?
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.
@@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
@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?
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 😆
Read the documentation and start building.
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
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.
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
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?
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.
Yes, you should. 😊
.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 :-)
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
@Webcrunch I watched DHH's documentary such an inspiring guy I can see how and why the Rails community is what is today.
"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.
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.
RoR is solid there are others like Phoenix with Elixir and Trongate with PHP.
Really want to give Phoenix a go soon!
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.
In commercial projects it would be hardly possible due lot of dependencies. WSL is a great option for Windows user.
@@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.
i use it until now, idk it just fit on me
Yes, you should
as a beginner. rails has made crud inCRUDbly easy. so far nothing has come this far.
InCRUDible!
It is time to switch to Phoenix
Sell me on it. I'm intrigued but haven't had the time to dive in.
Come to Laravel, we have Lamborghinis!
😅🔥
Why Laravel when there is Lucky from Crystal?
Lucky looks great. I'll have to give it a go.
@@Webcrunch It's not a new technology for Rails devs. I am also learning it. Give it a try!. You won't regret
We have paganis
Honestly Laravel is better than rails on most part. First party support and available packages is really nailing it.
You might be right ! But the Ruby language is just so clean, it's hard to go back to PHP.
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.
Fun fact: Laravel was inspired by Ruby on Rails.
But the copy (Laravel) is now better than the original (Ruby on Rails).
YOU ABSOLUTELY SHOULDN'T STOP TRYING TO REVIVE A DEAD BROKEN ZOMBIE HORSE