I'm completely new to Ruby, but am not a stranger to backend dev (.NET, Nodejs).
I've checked out the Ruby Quick start, but aside from that, what resources, whether they be books, online resources, videos etc. would you recommend to someone looking to get into the world of Ruby and Ruby on Rails?
Bonus points if you can suggest an e-book before I go camping in three hours? 😜
Top comments (39)
I'm a PHP developer, but Ruby is one of the languages that I started with a couple years back. The Rails Tutorial by Michael Hartl is highly recommended back then. I learned a lot from that book that is still valuable even when I'm on a different ecosystem now. Though it's quite geared towards beginners... but it wouldn't hurt to check it out.
Michael Hartl's work is so popular that it's practically the canonical source of Rails. Like, even if it's beginner material, it's worth skimming if only to know what other folks are being taught.
True. We used it to train every intern we hired for about 7 years now. Hats off Michael Hartl♥️
Train on which platform please?, I would like to be a part
To supplement more straightforward tutorials, the Destroy All Software screencasts are absolutely fantastic. Some Ruby stuff, some Rails stuff, some computer theory, Python stuff, it's all over the map, and all incredibly valuable.
I would say that guides.rubyonrails.org is a first place to learn.
Back in the days, RailsCasts and Rails for Zombies was a thing. Nowadays they are not updated anymore (if I remember correctly).
Destroy All Software is really cool!
The Odin Project curates some of the best ruby and rails resources within their curriculum.
Yeah, that's also good.
Hey!
Feel free to reach out for specific questions!
Have fun & good luck!
Exactly
I've recently started using RuboCop in my work as well, which has unexpectedly been a great learning resource. It shows me alternate methods and idiomatic syntax that I didn't know or had forgotten about.
Like with everything tech I want to learn, I start by reading any quickstart guide is listed on the official documentation, then dive right into the guts of the subject. For Rails, this means running
rails new
on some empty directory and try to make some kind of app I already know how to build with other languages, for example the evergreen blog platform.Normally, official docs + lots of googling and StackOverflow for every obstacle I encounter does the job nicely (at least for me)
For Ruby, I recommend this book
Effective Ruby
I think it's suitable for someone already has some background in programming and wanna learn more about Ruby.
With Rails, nothing better than doing a project, let try to build your own AirBnB website
I've been doing rails for about 10 years now, back in the days the poignant guide to ruby was a fun way to get familiar with the language. And for rails it's about having the official docs at hand and reading others people's code. Reading some of the most popular gems and how they solve common problems can give you an idea of the things you can do
I can't believe I left out the poignant guide!
I second Michael Hartl's book, and Rails 4 In Action is also good (although getting a little dated now).
As a second book, after you've done a tutorial or three and you're wondering "Now what?," I recommend Practicing Rails by Justin Weiss. Both Justin and Michael have been really responsive and they want to help you, so give those a try.
Don't forget the latest contender: Semicolon&Sons
The focus is on production web-apps. Instead of toy examples, the screencasts are situated inside a live codebase with a decade of legacy, hundreds of thousands of monthly sessions, and tens of thousands of monthly revenue -- and all the complications that accompany all this.
They are certainly not beginner screencasts, but are there to help people fill in the gaps when they are responsible for a deployed piece of software (ESPECIALLY if they are indie-hackers).
Things like architecture, non-brittle integration testing, data integrity enforced at an SQL level, monitoring and responding to production issues, integrating JS without fad frameworks, auditing gems and JS dependencies, softer stuff like SEO for programmers, etc.
You can check out the kind of content we’ve got here: semicolonandsons.com/series/Inside...
Esp, vouch for Jack Kinsella's Screencasts/YT videos on SEO for Rails n00bs