Synopses & Reviews
Rails 2.1 brings a new level of stability and power to this acclaimed web development framework, but keeping track of its numerous moving parts is still a chore. Rails Pocket Reference offers you a painless alternative to hunting for resources online, with brief yet thorough explanations of the most frequently used methods and structures supported by Rails 2.1, along with key concepts you need to work through the framework's most tangled corners.
Organized to help you quickly find what you need, this book will not only get you up to speed on how Rails works, it also provides a handy reference you can use anywhere, anytime. Inside, you'll find essential information on how to:
- Install Rails with RubyGems
- Build, compile, and process files with Rake
- Test Rails applications using assertions and fixtures
- Use Rails with Ajax
- Connect objects to a database using ActiveRecord
- Make web requests with the Action Controller framework
- Use REST web service APIs
And much more. Save yourself hours of frustration: If you use Rails daily and just want the facts -- fast -- this is your book.
Synopsis
Rails 2.0 brings the acclaimed Rails framework to a new level of stability and power. At the same time, however, the number of moving parts remains impressive. The Rails Pocket Reference gives developers an alternative to aspirin and hunting for current references online. The Rails Pocket Reference covers all of the most frequently used methods and structures supported by Rails 2.0, and also explains key concepts needed to work through the most tangled corners of Rails.
About the Author
Eric Berry is a Ruby on Rails developer for AtTask (http://www.attask.com), a leader in web-based project management software. He is also the creator of Solid Core Blogger, a Rails version 2.0 blogger application, which can be seen in action at solidcoresolutions.com. Before coming to AtTask, he was a co-founder of ShareAPhoto.com which was acquired by Hewlett-Packard in 2006.
Table of Contents
Preface; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1: Rails Pocket Reference; 1.1 About Rails Pocket Reference; 1.2 Getting Started; 1.3 RubyGems; 1.4 Rails Commands and Configuration; 1.5 Environments; 1.6 Rake; 1.7 Testing Rails; 1.8 Rails Console; 1.9 ActiveRecord and Models; 1.10 Action Controllers; 1.11 Views; 1.12 Rails and Ajax; 1.13 Routing; 1.14 REST; 1.15 ActionMailer; 1.16 Action Web Services; 1.17 Logging; 1.18 ActiveResource; 1.19 Plugins; 1.20 Capistrano; 1.21 TextMate; 1.22 Helpers;