What are Some Good Ruby Ressources for beginners?

twitter logo github logo ・1 min read

I want to start learning Ruby and eventually Ruby on Rails. But I'm not too sure where to start. I'm not a new programmer, I have experience with Javascript, PHP and Typescript. I have an O'Reilly account, so if you know any books/learning paths on there, it would be great. I'm also looking for websites or blogs that talk about Ruby.

So far I have Eloquent Ruby, The Well Rounded Rubyist (third edition)and Practical Object-Oriented design in Ruby in my reading list.

Thank you in advance 😄

twitter logo DISCUSS (12)
markdown guide
 

The most fun way is via _why

His poignant guide is legendary:

poignant.guide/

Check out his Wikipedia and crawl through his projects:

en.wikipedia.org/wiki/Why_the_luck...

  • Camping, a microframework inspired by Ruby on Rails and based on Markaby that is less than 4 kilobytes.[18]
  • Park Place, a "nearly complete clone of the Amazon S3 web service."[18]
  • Hobix, a YAML-based weblog application written in Ruby
  • Hpricot, an HTML parser
  • Markaby (markup as Ruby), a DSL to generate valid HTML using Ruby blocks and methods instead of tags.[19]
  • MouseHole, a personal web proxy that can rewrite the web à la Greasemonkey the RedCloth library, which implements the Textile markup language the Sandbox, a library for managing several Ruby environments in a single process
  • Syck, a YAML library for C, Ruby, and several other languages. Syck has been a part of standard Ruby libraries[20] since Ruby version 1.8.0.
  • Shoes, a UI toolkit "for Making Web-like Desktop Apps"[21][22]
  • unHoly, A Ruby bytecode to Python bytecode converter, for running Ruby applications on the Google Application Engine potion, a tiny, fast programming language with a JIT compiler, closure support and an object model built around mixins bloopsaphone, a crossplatform chiptune-like synth, based on PortAudio with a Ruby fronten
 
 

To be honest, those books would get you pretty comfortable with the Ruby language. Like @andrewbrown said, _why's guide is really fun.

You would also probably benefit from reading some Open Source Ruby projects. As it happens, Dev.to is an Open Source Ruby on Rails project!

 

This actually excited me. It's been fun reading through the dev.to code

 

Oh I will certainly check open source Ruby projects. Thanks!

 

Make sure you learn Ruby before Rails, otherwise none of the magic will make sense!
I learned Ruby a few days before starting my current job. Then I learned rails on the job.

I've found this repo which contains real world examples of Ruby apps : github.com/eliotsykes/real-world-r...

Also, Rubocop, when properly setup, is life-saving when you have to work with other people on Ruby projects. It enforces a specific syntax to make sure that your code is clear, clean, and readable. Ruby can get messy pretty quickly.

Other than that, Ruby is a very nice language to work with everyday.

Bonne chance!

 

Merci! I'm a big proponent of learning the language before the framework, so no need to worry haha.

 

I've always liked to read code from others. I always say, "Learn from others". I learn something new everyday reading through my co-workers' code and from open source projects.

dev.to
The Odin Project
alonetone

Take note that they are all Rails projects. You have to distinguish what is Rails and what is Ruby.

 
 

_why's guide is how I started, literally, and I see other two people have suggested it :D

 

The Well-grounded Rubyist is the bible for Ruby developers ;)

Classic DEV Post from Jun 27

Jack Of All Trades or Master of One?

That age old question: how many pies should one have a thumb in?

Gabriel Laroche profile image
I'm a passionate front-end Web developer and I love building stuff 😀👨🏻‍💻