This book is written for Rails 2. As this printing of the book is going to press, the current generally available Gem version of Rails is 2.2.2. The code in this book has been tested against this version. This book started life with the same text as the Second Edition, which covered Rails 1.2.6. Pages containing this original text have a gray heading and footer. As we migrate content to Rails 2, you’ll ﬁnd the header color changes to red. The Rails core team is continuing to work on Rails 2.
Agile publishing for agile developers
Under Construction The book you’re reading is still under development. As part of our Beta book program, we’re releasing this copy well before a normal book would be released. That way you’re able to get this content a couple of months before it’s available in ﬁnished form, and we’ll get feedback to make the book even better. The idea is that everyone wins! Be warned. The book has not had a full technical edit, so it will contain errors. It has not been copyedited, so it will be full of typos and other weirdness. And there’s...
Ruby on Rails has shaken up the web development industry in a huge way—espe
cially when you consider that version 1.0 of Rails was only released in December
2005. The huge waves of enthusiasm for the new framework, originally in weblogs
and later in the more traditional media, are probably the reason why this book is
in your hands.
This book will lead you through the components that make up the Rails framework
by building a clone of the popular story-sharing web site digg.com. This will give
you a chance to get your feet wet building a simple, yet comprehensive web...
Một danh sách các lỗi thường gặp ("gotchas") có thể tra trong cuốn sách của Hal Fulton The Ruby Way, trang 48–64. Tuy nhiên, vì danh sách trong cuốn sách là dựa trên phiên bản cũ của Ruby (version 1.6), một số mục đã được sửa đổi sau khi cuốn sách ấn hành. Ví dụ, retry bây giờ làm việc được với while, until và for, cũng như với iterators.
The new state-of-the-art class 423 metro train set is the latest result of advanced
European rail research, producing 56% less CO2 than the 35-year-old vehicle it
Procured by Deutsche Bahn, the new train is a lightweight compared to its predecessor,
weighing only 105 tonnes instead of 140.
Reduced dead weight saves some 25% of speciﬁ c energy consumption, while
regenerative braking accounts for further savings of up to 31%.