DEV Community

What are/were your go to resources for learning Ruby and Rails?

Nick Taylor on August 18, 2018

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 ...
Collapse
 
alchermd profile image
John Alcher • Edited

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.

Collapse
 
ben profile image
Ben Halpern

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.

Collapse
 
amit_savani profile image
Amit Patel

True. We used it to train every intern we hired for about 7 years now. Hats off Michael Hartl♥️

Thread Thread
 
destiny01 profile image
Destiny Aigbe

Train on which platform please?, I would like to be a part

Collapse
 
ben profile image
Ben Halpern

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.

Collapse
 
skatkov profile image
Stanislav(Stas) Katkov

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).

Collapse
 
ianandhum profile image
Anandhu Manoj

Destroy All Software is really cool!

Collapse
 
stevenbruno profile image
Steven Bruno

The Odin Project curates some of the best ruby and rails resources within their curriculum.

Collapse
 
destiny01 profile image
Destiny Aigbe

Yeah, that's also good.

Collapse
 
roberthopman profile image
Robert • Edited

Hey!

  1. I'm curating a resources list on GitHub, my suggestion is to
  2. join the ruby on rails slack community of that list ( #beginners_and_mentors channel )
  3. start learning with railstutorial.org
  4. maybe dive into the ruby exercises of exercism.io
  5. gorails.com & railscasts.com are the go to video channels.

Feel free to reach out for specific questions!

Have fun & good luck!

Collapse
 
destiny01 profile image
Destiny Aigbe

Exactly

Collapse
 
briankephart profile image
Brian Kephart
  • Ruby Koans: Learn by testing, using Minitest.
  • CodeAcademy: Introductory projects for both Ruby and Rails.
  • CodeFights: Programming puzzles to solve in the language of your choice. This is fun because you get to see how much shorter the solutions are in Ruby compared to many other languages.😀 Also has competitive/social features if that's appealing to you.

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.

Collapse
 
matteojoliveau profile image
Matteo Joliveau

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)

Collapse
 
ducthien1490 profile image
Duc Thien

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

Collapse
 
gssbzn profile image
Gustavo Bazan

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

Collapse
 
briankephart profile image
Brian Kephart

I can't believe I left out the poignant guide!

Collapse
 
noblebe4st profile image
Jeff Hall

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.

Collapse
 
semicolonandsons profile image
Semicolon&Sons • Edited

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...

Collapse
 
ultrasounder profile image
ananth vankipuram

Esp, vouch for Jack Kinsella's Screencasts/YT videos on SEO for Rails n00bs

Collapse
 
jchiavaro profile image
Jorge Chiavaro • Edited

You can take a look at this online course: edx.org/course/agile-development-u...
In addition to ruby and Ruby on Rails, you’ll learn agile development, TDD, design patterns and so on. I highly recommend this corse and the next one. I hope this can be useful to you.

Collapse
 
webbydevvy profile image
Charlie Strack

Udemy, youtube, railscasts, obsessive reading (The Bastards book of Ruby, The Well Grounded Rubyist, plus loads of online e-books depending on what I was attempting to achieve at the time). There are so so many tutorial videos that are excellent on youtube too. I also joined a bootcamp, which I can highly highly recommend - just for the shared experience of pairing with other people in the same boat as you!

Collapse
 
mattmcknight profile image
matt mcknight

Agile Web Development with Rails is the one I started with in 2005. Still kicking out the new editions. pragprog.com/book/rails51/agile-we... If you follow along and build the application in the tutorial, you will be productive.

Collapse
 
teamroggers profile image
Rogier Nitschelm

This place seems like a good way to get into intermediate Rails and Ruby:

thoughtbot.com/upcase

Collapse
 
superails profile image
Yaroslav Shmarov • Edited

After you get to know the basics, this should be the next step for upskilling: Ruby on Rails 6: Learn 25+ gems and build a Startup MVP 2020

Collapse
 
codeloopy profile image
codeloopy

Super late to the game but perhaps will help someone else.

Learn Ruby the Hard Way really helped me get started with ruby: learnrubythehardway.org/

And yes, even today the Michael Hartl Rail tut is a must!

Collapse
 
nickytonline profile image
Nick Taylor • Edited

I came across another great resource from my co-worker @vaidehijoshi , rubytapas.com. Thanks for the share Vaidehi!

Collapse
 
burdettelamar profile image
Burdette Lamar

Don't forget irb (interactive Ruby).

It's a great place to get answers to small questions in a hurry.

Keep it open in a shell window, go there when you need to.

Collapse
 
roberthopman profile image
Robert

Which things did / do you use?

Collapse
 
nickytonline profile image
Nick Taylor

I've been so busy with stuff I usually work on that I honestly haven't had a chance to read up on all the great resources people have posted here quite just yet. It's my todo. 😉 The backend at my new job is in Ruby, which I'll need to touch occasionally, so I'll probably be digging into these resources in the near future.

Collapse
 
nickytonline profile image
Nick Taylor

Actually, today I'm on learnenough.com/ruby-tutorial by Michael Hartl just going through some basics before I tackle his rails tutorial. repl.it has been handy for this.

Collapse
 
destiny01 profile image
Destiny Aigbe

I suppose you have already seen a lot. The Michael Hartl book is good but paid. If you are looking for free ones, I recommend starting with guides.rubyonrails.org, let's build with rails web-crunch.com, YouTube, codecademy(rails course is paid but ruby is free), for ebook, learn ruby the hard way and so on. I will make a post on a complete guide to learn ruby on rails.

Collapse
 
david_j_eddy profile image
David J Eddy

Awesome list to the rescue! github.com/markets/awesome-ruby#re....

Collapse
 
willjohnsonio profile image
Will Johnson

This Udemy Course was helpful for me

udemy.com/share/1013z6A0sedVdbQ3w=/

Collapse
 
nickytonline profile image
Nick Taylor

Thanks for sharing Will!

Collapse
 
aadeshere1 profile image
Aadesh Shrestha

I learned from techrise.me and YouTube.

Collapse
 
storrence88 profile image
Steven Torrence
Collapse
 
nickytonline profile image
Nick Taylor

Just adding this tweet from @rhymes that is full of great Ruby and Rails resources from Shopify.

Collapse
 
nickytonline profile image
Nick Taylor

Thanks for sharing Artemix 👏

Collapse
 
ashishgoyal247 profile image
Ashish Goyal

Michael Hartl book is the best resource to start Ruby and Rails.....Once you are done with first 12 chapters you can go to Rails Guides to get a deep understanding of Rails fundamentals and concepts.