If you want to learn rails, you should learn ruby. If you want to learn ruby or to get more proficient in ruby you should read some books/articles/documentation/sources.
I read quite a few things about ruby, some of these links and books were given to me by my friends and colleges, I want to share them with you…
- I recommend “Programming Ruby 1.9 & 2.0” by Dave Thomas, with Chad Fowler and Andy Hunt. This a book from The Pragmatic Bookshelf. The best book about Ruby. It is a complete reference of Ruby and its standard libraries. This is a must. I know that most of the books about programming languages begins with definitions of the key words, conditionals and loops, but this is not the case with this one.
+ Pleasant for reading.
+ Good examples.
+ Everything in one.
+ Full reference for the standard libraries that come with Ruby.
- If you want to get under the surface of Ruby and to have the power to write your own DSLs, the book for you is “Metaprogramming Ruby: Program Like the Ruby Pros”, by Paolo Perrotta. Again the book is published by The Pragmatic Bookshelf. It will teach you the inner doings of the Ruby classes, modules and methods. It will be easier to you to get into how things are implemented in frameworks like Rails.
+ Gives you the information you need on iterations.
+ Cool story :)
+ Advanced but enjoyable.
- I just love The Pragmatic Bookshelf’s books. I wanted to give you links to books from another publisher here, but I can’t. Everything you need is on their bookshelf. “Working with Unix Processes” and “Working with TCP Sockets” are two books by Jesse Storimer. They are very practical and some very important knowledge is provided to you in the form of Ruby code.
- Very important place is http://ruby-doc.org. It is self-explanatory.
- Another link of interest is https://www.ruby-toolbox.com. It compares the shares of use of different frameworks and libraries grouped by their purpose.
This post is only useful links, so no useful links here… I think it is a good idea to write such posts. There will be post about rails books and links and maybe REST, Vim, Ruby Web… Who knows.