DEV Community

Cover image for Best modern resources for learning Rails 6 and Ruby
Vincent Voyer
Vincent Voyer

Posted on • Edited on

Best modern resources for learning Rails 6 and Ruby

Photo by Robert Bye

Ruby and Ruby On Rails books and tutorials are legion, but they are not always up to date nor complete. I did a lot of digging and reading to find the best ones and ranked them in order from standard to advanced material.

If you're eyeing Ruby on Rails and looking for a learning path to follow, this post is for you.

None of the links here are sponsored in any way. Not that I don't want to have sponsored links, I just don't know how to generate them.

๐Ÿค˜ Let's go.

Day one, morning: TryRuby

๐Ÿ”— https://ruby.github.io/TryRuby/

Try Ruby

This is a ~30 minutes interactive tutorial. It will get you trained on the essential Ruby data structures. I really enjoyed it. If you have experience in other programming languages this will be faster to follow.

Day one, afternoon: The official Getting Started from the Rails website

๐Ÿ”— https://guides.rubyonrails.org/getting_started.html

The offical Getting Started from the Rails website

It's a simple tutorial, but it can be a good way to endup your first day of learning Ruby and Rails.

Rest of the week Next two weeks: Learn Enough's Ruby on Rails tutorial

๐Ÿ”— https://www.learnenough.com/ruby-on-rails-6th-edition

Learn Enough's Ruby on Rails tutorial

This must be, by far, one of the oldest non-official Ruby on Rails tutorial (2010). Since it's a paying one, I was hesitant (you know, ๐Ÿ†“ stuff!) but you should not. Its content is of amazing quality. It's not just a copy and paste tutorial, you really do learn a lot of fine details of Ruby and Ruby on Rails.

Highly recommended.

Update November 29, 2019: It took me longer than a week to finish this tutorial, but it was worth it, here's the final result:

Rails tutorial application

โœ‹ Stop learning and build

At this point, you can stop learning intensively and actually build stuff.

But in the future, you might want to learn more, to scale, to optimize, to refactor. When that's the case, I plan on reading:


Any other recommendation? Add them in the comments. ๐Ÿ™

Thanks for reading, if you enjoyed this post, share it for others to discover it:

GIF of The Sword in the Stone


Photo by Robert Bye on Unsplash

Top comments (9)

Collapse
 
ssimontis profile image
Scott Simontis

I'd recommend spending a lot of time with Ruby itself before adding Rails to the picture. Ruby is a super-powerful language, almost like C++ when it comes to the number of language features you have available to solve any particular problem (which can be a good thing and a bad thing).

I tried learning Rails before without a concrete understanding of Ruby, and I succeeded in making a site, but my code wasn't elegant and nothing I learned soaked in because I was constantly having to go look things up and didn't understand Ruby enough for them to click in my head. I've been learning Ruby the past few months without even touching Rails and I've I still feel like I've only scratched the surface!

Collapse
 
vvo profile image
Vincent Voyer • Edited

Thanks Scott! I guess experience differs for me here, using TryRuby and the Learn Enough Rails tutorial was sufficient for me to get enough Ruby to feel comfortable. I come from the JavaScript world also and actually the different language features and concept are similar, even if syntax differs.

I would maybe avoid spending months learning Ruby if your goal is to build a product, because it seems a very long time. But it depends on your needs.

Still, super important to learn Ruby first and then continue learning it yes.

Collapse
 
amani_art profile image
Austine Amani

Yeah, always learn ruby first. You'll enjoy rails more when you know how to write ruby.

Collapse
 
zimski profile image
CHADDA Chakib

Hey Vincent ! Are you switching to ruby from the Js wonnderland :) ?

Btw nice ressources here, i would add:

  • rubyweekly.com best newsletter with a valuable content each week
  • gorails.com a well done screencasts and a lot of interesting free contents

  • driftingRuby

And of course reading the actual source code of some famous osc gems, just open the gemfile, pick a gem and try to understand how it works

Collapse
 
vvo profile image
Vincent Voyer

Thanks Chakib! I am still a JavaScript fan but for backends I am giving a try at Rails yep :)

Collapse
 
superails profile image
Yaroslav Shmarov
Collapse
 
hixdevs profile image
hix.dev

Hey Vincent!

That's a nice collection here, I didn't know Ankane's Secure Rails - good stuff!

We've recently started our series focusing solely on Ruby on Rails configuration tutorials.

I'd appreciate any feedback, and keep up the good work!

Collapse
 
vvo profile image
Vincent Voyer

Thanks for the comment! I went through the tutorials, very well written and with lots of content, congrats!

I'll add your resource to the list, it's relevant.

Collapse
 
k_penguin_sato profile image
K-Sato

Neat!