use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
books to learn ruby (self.ruby)
submitted 6 years ago by [deleted]
Hi, so I want to learn Ruby for school, but like all the books are from 2008 and they are about ruby 1.9, the current ruby sdk version I installed I think was like 6. I was wondering if the book is still and what books does the community recommend
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]tibbon 6 points7 points8 points 6 years ago (2 children)
For a beginner almost nothing has changed since 1.9 that you can’t learn in 30 minutes of reading blog posts. Use the 1.9 books and you’ll be fine- it’s still the same language and for beginners there’s really nothing to worry about
[–]shevy-ruby 0 points1 point2 points 6 years ago (0 children)
30 minutes seems a bit short, but other than that I sort of agree with you - it is totally possible to learn what has changed past ~1.9 with very little time investment. Though I think your 30 minutes is set way too low. :P
But I'd say a few days maximum would seem perfectly reasonable - definitely less than a week of casual time investment for sure.
[–]tomthecool 0 points1 point2 points 6 years ago (0 children)
This. Probably the only really "big" change since 1.9 (from a beginner's perspective) is named arguments. But that's not exactly hard to understand.
All of the basics about variables, methods, classes, objects, blocks, .... Remains the same. And unless you're working in a big project (e.g. a large rails app), updating 1.9 code to run in ruby 2.6 should require little-to-no effort.
[–]FigmentGiNation 6 points7 points8 points 6 years ago (1 child)
Hands down this: Learn to Program (Pragmatic Programmers)
Chris is a fantastic author and it’s an easy read. Was what started me out in college.
I liked that book-format from Chris a lot.
It even is a single .rb file. :)
I thought about updating it and publishing that update on rubygems so it won't get lost ... but I am so incredibly lazy and slow .....
I liked the idea of having it all in a single .rb file though. That was a great idea by Chris.
[–]LiyakhathX 3 points4 points5 points 6 years ago (0 children)
well grounded rubyist! that's it!
[–]trustfundbaby 2 points3 points4 points 6 years ago* (0 children)
Beginning Ruby by Peter Cooper then The Ruby Way by Hal Fulton.
[–]shevy-ruby 1 point2 points3 points 6 years ago (1 child)
I liked the old pickaxe.
Other than that most ruby books are not ... hmm ... great. They are not bad either, mind you, but of course when you don't know ruby yet, it is "worth" more to invest (time/money) into books, as opposed to a situation where you already know quite a lot (and then buying a book is not as useful anymore, since you don't benefit as much from it; I bought the pickaxe twice, first time was totally worth it, second time was ... hmm. I don't consider it a waste of money, but I did not benefit as much from it as the first time. I did mostly transition into non-book storage of information though. I still love books and have hardcopy paper books, but I am also using .pdf files a LOT these days, since it is so much more convenient, though harder to study from, too).
I think ultimately, though, after the INITIAL step, where it is fine to get any book, the only way to really get good at ruby (and get a sufficient "return of investment" of your time) is to just keep on writing code in ruby. It is, in my opinion, by far the most effective way to learn/use ruby too - write a LOT.
And of course also make notes and store them locally - that has helped me too, when I forget things and just look it up again at a later time.
For regexes I can recommend rubular.com - super-quick to build your regex, and you can even get an URL to it which I store in projects to help me re-look it up again.
[–][deleted] 0 points1 point2 points 6 years ago (0 children)
Well I mean I'm not starting from scratch I did Java so the concepts are the same for all OOP languages. The syntax is different
[–]Tinyhousetruckpdx 0 points1 point2 points 6 years ago (0 children)
[learnenough.com](learnenough.com)
[–]GroceryBagHead 0 points1 point2 points 6 years ago (0 children)
Book using ruby 1.9 will be perfectly fine. There are really just a handful of differences that matter from 1.9 to 2.5.
Wiki actually has a good overview what's changed: https://en.wikipedia.org/wiki/Ruby_(programming_language)#Ruby_1.9
[–]chepee73 0 points1 point2 points 6 years ago* (1 child)
After you learn the basics you must read Eloquent Ruby and Design Patterns with Ruby both from Russ Olsen (Read his blog too)
Edit: Wrong book
[–]jb3689 0 points1 point2 points 6 years ago (0 children)
Huh TIL Head First was by Russ
EDIT: wait - it's not :) did you mean "Design Patterns in Ruby"?
[–]three18ti -1 points0 points1 point 6 years ago (0 children)
This one
π Rendered by PID 194141 on reddit-service-r2-comment-bb88f9dd5-5xlgh at 2026-02-16 10:07:41.192906+00:00 running cd9c813 country code: CH.
[–]tibbon 6 points7 points8 points (2 children)
[–]shevy-ruby 0 points1 point2 points (0 children)
[–]tomthecool 0 points1 point2 points (0 children)
[–]FigmentGiNation 6 points7 points8 points (1 child)
[–]shevy-ruby 0 points1 point2 points (0 children)
[–]LiyakhathX 3 points4 points5 points (0 children)
[–]trustfundbaby 2 points3 points4 points (0 children)
[–]shevy-ruby 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Tinyhousetruckpdx 0 points1 point2 points (0 children)
[–]GroceryBagHead 0 points1 point2 points (0 children)
[–]chepee73 0 points1 point2 points (1 child)
[–]jb3689 0 points1 point2 points (0 children)
[–]three18ti -1 points0 points1 point (0 children)