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.
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.
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.
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.
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.
Having used React and React Native for some projects at work I can say that if you're paid by the hour and have infinite VC money React and React Native are a great choice. If you're paid by the job then you should use Rails.
.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
I started learning Rails some years ago, I still have so much to learn, I was able to land a RoR job back in 2022. My main concern is getting a new job with rails, I haven't been able to get a job since then. Any suggestions?
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
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
@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 😆
I just don't see a use-case for Ruby/PHP. Either I need a fast backend and would choose Go, Rust or C++, or performance isn't an issue so I can benefit from real-time end-to-end type-safety by using TypeScript both on frontend and backend. Does someoen have a good example where to use it?
Did you ever built a full saas as a solo from scratch? If you do you will understand why using a framework like Django, Laravel or Ruby on Rails. It's not about performance, which is not important. It's about the "batteries included" like: - Good ORM with easy migrations/rollsback - Easy configuration - Queue tasks support out of the box (not for django, you need celery) - Maintainability - Testing - Emails - Authentication - Form Validations - Ecosystem of packages to don't reinvent the wheel In a startup environment (mostly not VC funded), or as a solo you don't have time, you need to ship products as fast as you can and generate revenue, otherwise you are dead. PS. Typescript sucks :P
@@rhatalos1997 Come on, i was joking. Type safety is good, and typescript helps a lot with that. But using it and then fill the code with Any and // @ts-ignore is way worst than using vanilla js.
@@rhatalos1997 You didn't get what I am saying. What I told you is that if you use typescript and then you don't apply the principles behind the reason you dediced to use it, it's useless. And you build a codebase of useless bloated code. Sometimes you don't have to overengineer your app for the 0 users you have.
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.
I use the core language as it was originally conceived, without Rails. Writing something in Ruby has become something as natural as writing a text. Don't get me wrong. It's not because you can write things that are syntactically similar to spoken languages, I never do that, but because it allows you to think about the problem while programming, without being distracted by syntax constructs that are too much machine oriented. However, I'm not happy with the more recent evolution where things are added such as enforcing static typing that are not compatible with true object orientation. On thing is required when you use Ruby: you need to have a clear vision of sound programming techniques, otherwise the freedom that the language offers can become a disadvantage. I'm pretty sure that I will continue to use Ruby for personal use even if it disappears in a job context. And if Ruby dies, I will write my own Ruby interpreter :-).
"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.
Lately I can't. Most go out of date quite fast so I usually turn to reading the documentation, videos/courses, and blogs. My best learning came from brute force trying to build something though.
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 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
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 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.
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 RUclipsr is going to make a video about if and how we will be replaced. Ruby and Rails is more up to date as ever.
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.
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.
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.
@@DevlogBill Hello! Do you want to create RoR API?
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!
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.
Much love! Thanks for your time!
Yes, you should use now more than ever.
I loved rails when I was first starting out. Its been years since I've touched ruby but this makes me want to re explore rails, thanks!
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
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.
Having used React and React Native for some projects at work I can say that if you're paid by the hour and have infinite VC money React and React Native are a great choice. If you're paid by the job then you should use Rails.
If I'm not mistaken, authentication is coming with Rails 8, which is awesome to hear!
Ruby is the most beautiful language created so far.
.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.
I learned today about ruby on rails and I am in love.
I don't see much tutorials for rails. Someone please guide me 😢
I started learning Rails some years ago, I still have so much to learn, I was able to land a RoR job back in 2022. My main concern is getting a new job with rails, I haven't been able to get a job since then. Any suggestions?
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!
Absolutely Yes
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
@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.
I just don't see a use-case for Ruby/PHP. Either I need a fast backend and would choose Go, Rust or C++, or performance isn't an issue so I can benefit from real-time end-to-end type-safety by using TypeScript both on frontend and backend. Does someoen have a good example where to use it?
Did you ever built a full saas as a solo from scratch? If you do you will understand why using a framework like Django, Laravel or Ruby on Rails. It's not about performance, which is not important. It's about the "batteries included" like:
- Good ORM with easy migrations/rollsback
- Easy configuration
- Queue tasks support out of the box (not for django, you need celery)
- Maintainability
- Testing
- Emails
- Authentication
- Form Validations
- Ecosystem of packages to don't reinvent the wheel
In a startup environment (mostly not VC funded), or as a solo you don't have time, you need to ship products as fast as you can and generate revenue, otherwise you are dead.
PS. Typescript sucks :P
@@carbogninalbertp You had to completely invalidate your opinion with your last line 🤦♂️
@@rhatalos1997 Come on, i was joking. Type safety is good, and typescript helps a lot with that. But using it and then fill the code with Any and // @ts-ignore is way worst than using vanilla js.
@@carbogninalbertp I mean, that's like saying "C++ is fast but when your code results in segmentation fault it's way worse than Java."
@@rhatalos1997 You didn't get what I am saying. What I told you is that if you use typescript and then you don't apply the principles behind the reason you dediced to use it, it's useless. And you build a codebase of useless bloated code.
Sometimes you don't have to overengineer your app for the 0 users you have.
Yes. No need to spend anymore time debating it.
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
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
I use the core language as it was originally conceived, without Rails. Writing something in Ruby has become something as natural as writing a text. Don't get me wrong. It's not because you can write things that are syntactically similar to spoken languages, I never do that, but because it allows you to think about the problem while programming, without being distracted by syntax constructs that are too much machine oriented. However, I'm not happy with the more recent evolution where things are added such as enforcing static typing that are not compatible with true object orientation. On thing is required when you use Ruby: you need to have a clear vision of sound programming techniques, otherwise the freedom that the language offers can become a disadvantage. I'm pretty sure that I will continue to use Ruby for personal use even if it disappears in a job context. And if Ruby dies, I will write my own Ruby interpreter :-).
"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.
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.
Can you recommend a good book?
Lately I can't. Most go out of date quite fast so I usually turn to reading the documentation, videos/courses, and blogs. My best learning came from brute force trying to build something though.
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
thanks for this man! more videos
You got it!
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.
Yes, you should. 😊
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 RUclipsr is going to make a video about if and how we will be replaced.
Ruby and Rails is more up to date as ever.
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.
I thought I was the only one going back to rails after 8 years of working on non ruby projects
Great video man,
Could you please make video/blog on full text search functionality using postgresql tsvector datatype?
Thanks! Will try for that.
RoR is solid there are others like Phoenix with Elixir and Trongate with PHP.
Really want to give Phoenix a go soon!
Why Trongate?
@@edism Why not?
@@freaklore no package manager, silly versioning ideology and the lead dev has a poor attitude.
Do you need to know Ruby first before you start Ruby on Rails?
i use it until now, idk it just fit on me
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
as a beginner. rails has made crud inCRUDbly easy. so far nothing has come this far.
InCRUDible!
Hackerrank is based on ruby on rails!!
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
It is time to switch to Phoenix
Sell me on it. I'm intrigued but haven't had the time to dive in.
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).
i like ruby but not rails
YOU ABSOLUTELY SHOULDN'T STOP TRYING TO REVIVE A DEAD BROKEN ZOMBIE HORSE
It never died 😂
this is not an honest answer.
It's my honest answer. Totally fine to go a different path!
No!
Ok!