I rather liked its examples based approach, which very much suits the
way I learn. What do others think of it? Is there a book like it that
is better than it?
I already have the pickaxe book, Ruby for Rails and Rails Recipes, and
I am waiting for the AWDWR 2nd Ed.
You should know enough to be comfortable with some basic to
pre-intermediate stuff (in practice this means you don't need to refer
to the manual every 5 minutes if you write a bit more complicated stuff)
This should be acquired from Ruby for Rails (IMHO - there are lot of
other ways to begin, but for me this was the best)). If you need some
more, you should grab The Ruby Way and/or the Pickaxe, write a lot to
Once you are ready to roll your own project (which is IMHO the second
step after you have some knowledge under your belt), nothing beats the
Ruby Cookbook. I have done this myself recently. I had no idea about
documenting Ruby code, packaging the whole program into a gem, writing
unit tests (in Ruby) and automatizing these tasks (and a lot of other
things - not to mention I had no clue about Ruby-ish constructs and
idioms). However, with the Ruby Cookbook by my side, learning and
putting things into practice from writing the first line until packaging
the whole thing into a gem was a piece of cake. I have picked up a lot
of idiomatic thing as well - and I think the cookbook is the best stuff
Of course If you want to just code some smaller stuff and refer to the
cookbook sometimes, it is cool for that purpose too. It has all the
typical problems that a Ruby hacker encounters.
Conclusion: The Cookbook really shines if you are actually doing
something and would like to do it the Ruby way. Reading it from cover to
cover from the beginning might also work - never tried :)
p.s.: I will also send the full review once I am ready with it.
The Ruby Cookbook s a good book. I'm a fan of The Ruby Way (2nd Ed),
It'd be hard to go wrong with either of them though.
> I already have the pickaxe book, Ruby for Rails and Rails Recipes, and
> I am waiting for the AWDWR 2nd Ed.
> I rather liked its examples based approach, which very much suits the
> way I learn. What do others think of it? Is there a book like it that
> is better than it?
I've lost count of the times I've googled for ages for some ruby
trick and found it in the Cookbook in about 10 seconds. It's
brilliant, and the discussion sections always highlight something
useful. If you've got a bit of experience, it can pretty much
replace the reference section of the pickaxe.
I like it a lot. I'm quite new to object-orientated programming, and
many other concepts in general, and have found the combination of clear
Ruby syntax and the examples in the cookbook a good way to learn about,
for example, Metaprogramming and distributed services. I can only
Posted via http://www.ruby-forum.com/.
I bought the Ruby Cookbook recently - see my blog post on it here -
http://jugad.livejournal.com/2006/11/12/ - and I think its really
Covers *lots* of recipes in different areas (the book is quite thick,
but not like some books which try to make up for quality by
The authors are Lucas Carlson and Leonard Richardson, both of whom have
done good Ruby work.
Dancing Bison Enterprises
you have nailed it right there. I am at the level where I know
enough, but need to get work done, and I find in general good comprehensive
examples for Ruby tasks to be rare enough when you need them.
Understanding comes with time, but plagiarism gets you up and
Anyway placed my order.
I am curious though, is the Rails Cookbook as good?
Here's another review you might find helpful:
I purchased both the Ruby Cookbook as well as The Ruby Way (2nd Ed).
Both are pretty similar in style, but I preferred the former. The
examples seemed to be more interesting to me. That said, if your
still learning ruby, the examples in the latter may be more useful, as
they seem to map more directly to actual language features.
Like Pat said, I don't think you'd go wrong with either one.