Ruby Resources

Here are some books (coming soon) on Ruby -

Enterprise Integration with Ruby

Programming Ruby (2nd Ed.)

Java to Ruby: Things Your Manager Should Know

Best of Ruby Quiz

Another good resource for up-to-date information on Ruby and RoR information is

Once you get there, you can perform a search on “Ruby” or “Ruby on Rails”. You can also generate a RSS feed based on these keyword tags, and if you like, you can keep up-to-date in your RSS newsreader.

One more site that is a good resources for ruby is

The writer uses a somewhat dummy proof style of writing to help the new programmers to learn ruby. He explains all the concepts in detail so there is no confuion over what something is. I like it

A new Ruby on Rails all-in-one installer.

There’s been a flood of new Ruby and Ruby on Rails books since this thread was last updated. For learning Ruby, I highly recommend Peter Cooper’s Beginning Ruby. For an introduction to Rails, SitePoint’s own Build Your Own Ruby on Rails Applications is a good starter.

The most exciting new Rails book is Obie Fernandez’s The Rails Way. It assumes you already know your way around Rails, so it isn’t good for beginners, but if you want to dig deeper it’s a fantastic book. It’s also the only book that currently is updated for Rails 2.0.

There’s several sources of great screencasts about Rails. The ones at, by Geoffrey Grosenbach, cost $9 each but are very well done and about an hour long. And there dozens of free, short-and-to-the-point ones at Ryan Bates’

There’s now a bunch of versions of the API documentation available online with various interfaces. My favorites are (for Ruby) and (for Ruby on Rails). The software is open-source and you can download the whole thing to view locally, or just view it online.

There’s an amazing number of Ruby on Rails blogs now. A few I’d recommend are, which focuses on the language itself;, written by two Rails core team members;, by Chris Wanstrath and PJ Hyett; and Josh Susser’s

Beware of the Rails wiki ( At one point it was the central source for information about Rails, and although there is a lot of great information there, there is also a ton of badly outdated information that can easily lead you astray.

Finally, if I may be forgiven a little self-promotion, since it is responsive to the topic, I coproduce a podcast,, that teaches the fundamental concepts behind Ruby on Rails, and the Rails resource site, which has both original articles and a large set of annotated, organized links.

I was getting a bit frustrated trying to find tutorials for Rails version 2.x
Being a RoR newbie, I don’t feel comfortable trying to modify deprecated code (too much) when I’m just learning things and don’t really understand how they work well enough. But I did find a few. The first 2 worked for me without a hitch.

“Rails 2.0 and Scaffolding Step by Step” by Sean Lynch
Part 1
Part 2

“Tutorial: Beginning AJAX with Rails 2.0” by rledge21

I haven’t tried this one yet, but if it’s as good as the AJAX one it should be fine.

“Rails Forum Tutorial for Beginners” by rledge21
Part 1
Part 2
Part 3 (Restful Authentication)

EDIT: I may have spoken a bit too soon on this last one. I ran into “topic edit link” “no id” problems. And now I’m having table “id” problems when the topic id isn’t “1”.
EDIT-EDIT: A few link_to bugs in the view/topic/*.html.erb files, but after looking into the way Rails deals with routing and path parameters I was able to figure out how to fix them. Part 2 was OK, now on to part 3.
EDIT-EDIT2: Except for some typos, part 3 went well.

EDIT #2: I found another good 2.1 tutorial at
The only problem I had was a couple of extra db/migrate files causing a “table already created - rake aborted” error (solved by removing the extra files).

I’m just starting out in Ruby, but I’m finding the RadRails for Aptana Studio (all free) a good working environment. It’s got a cvs plug-in too.

Aptana is a Mac version of Eclipse.


Thanks for the links.

I plan to check as many links as possible but am indecisive about what to read next.

I’m wondering what others here would recommend as a good second book?

Would it be a good idea to read: “Programming Ruby: The Pragmatic Programmer’s Guide” by Addison Wesley Longman

I am almost all the way through Simply Rails 2 by Patrick Lenz. It’s a good book for a beginner. I was able to understand and follow the examples but I still would have no clue how to design something from scratch without using a guide.


There are many good books but I think one REALLY stands out clearly above any and all the rest:


                     - The Pragmatic Programmer's Guide

by Dave Thomas

and it is called “The PickAx Book” by the people I have been working with. It is just a super excellent Reference book put together in two sections and seems to have just enough material to cover things so you can keep on working a minute later.

There is a new edition out for 1.9 - so folks wanting to save some dollars for getting going might consider picking up a 1.8 Edition for peanuts. (1.9 is much faster but not too much seems to have changed) - I’m not recommending this - as it is a great privilege in the Ruby Language to have such a well written book.

Now, to my thinking is only what add’l books you might want on your desk.


I’m a 3 year Ruby Programmer - this is about my 8th language (let’s see Fortran, Basic, Pascal, c, c++ (worse thing every foisted on progammerdom), Smalltalk (best language ever until Ruby), Java then Ruby - ahhh lost count.)

Programming Ruby

Programming Ruby: The Pragmatic Programmer’s Guide is an online ruby programming book that appears to be fairly comprehensive.
Learning Ruby

Ruby study notes that form a Ruby programming tutorial.
Little Book Of Ruby

Ruby tutorial ebook - PDF download.

An introduction to Ruby programming complete with source code from Bitwise magazine.
Ruby Hacking Guide

This is a site that houses a project to translate the Ruby book from Japanese into English. So far it looks like four of nineteen chapters have been translated.
Data Structures and Algorithms with Object-Oriented Design Patterns in Ruby

This also illustrates object-oriented design and it promotes the use of common, object-oriented design patterns. The algorithms and data structures in the book are presented in the Ruby programming language. Virtually all the data structures are presented in the context of a single class hierarchy. This commitment to a single design allows the programs presented in the later chapters to build upon the programs presented in the earlier chapters.
Learning Ruby

This is an online ruby programming tutorial in book form that can also be downloaded. It appears that it may still be under construction and currently goes up to creating you own classes and methods.
Learn to Program

A basic Ruby programming tutorial.
A Little Ruby, A Lot of Objects

This is a draft book titled A Little Ruby, A Lot of Objects.
Ruby User Guide

Includes code examples.
(Poignant) Guide to Ruby

An online book about Ruby.
RubyCHannel Tutorial

This is an interactive tutorial with code that you can modify and have interpreted.

Here is another good site to add

Ruby Code Snippets

I expect the usefulness of this link to be short-lived, but likely just what someone going from rails 2 to 3 might want to check out.

I cannot vouch for awesomeness here… I don’t do Ruby.

The What’s Ruby? page at the official site might be helpful to you, afgmail.

In the same way you can use any text editor as an an editor for Ruby, yes.

There are some details about adding Ruby sytax highlighting to Dreamweaver, but it seems from the comments on that page those instruction may not work with DW2004.

The best Ruby on Rails tutorial: why’s (poignant) guide to ruby :: 1. About this Book should be added to this list. It’s a great resource for learning Ruby.

1 Like

Great tutorial to use cache techniques

Ryan Bates also published a revised rail cast on cache modeling:

Thanks, that’s a good resource.

There’s good info in the guides too, Rails 4 is just around the corner and has done a lot to improve caching.

Caching views does provide some hurdles though, e.g. you can’t render timestamps like “5 minutes ago” or put conditional rendering like <% if admin %>secret sauce<% end %>. It certainly has a place but I haven’t used it extensively in production though.

Adding a few more Ruby/Rails related resources:

  • TryRuby - a popular & fun Ruby tutorial inside your browser
  • Ruby Warrior - similar to TryRuby, but for a little more advanced Ruby programmers, a nice game where you have to code your warriors’ steps in Ruby in order to win
  • CodeSchool - Ruby path - a set of tutorials (some behind a pay wall, some free)
  • Code Academy - Ruby track - similar as above
  • RubyKoans - free Ruby lessons
  • Ruby Monk - free, interactive tutorials to help you discover Ruby idioms, in your browser