Buying Options
Rails: Up and Running, Second Edition
Print $29.99
Add to Cart
Print+Ebook $32.99
Add to Cart
Ebook $23.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £22.99
Add to Cart
What is this?

Product Editions

  1. Rails: Up and Running, Second Edition - October 2008
  2. Ruby on Rails: Up and Running - August 2006
Description

In just a matter of days, you can develop powerful web applications with Rails that once took weeks or months to produce with other web frameworks. Find out how with Rails: Up and Running. Perfect for beginning web developers, this new edition teaches the basics of installing and using Rails 2.1 and the Ruby scripting language, and covers just about everything you need to develop your own Rails applications quickly.

Full Description
Table of Contents
  1. Chapter 1 Zero to Sixty: Introducing Rails

    1. Putting Rails into Action

    2. Organization

    3. The Web Server

    4. Creating a Controller

    5. Building a View

    6. Tying Controller Data to the View

    7. Under the Hood

    8. What’s Next?

  2. Chapter 2 Scaffolding, REST, and Routes

    1. Introducing Photo Share

    2. Preparing Your Project and Database

    3. Generating a Resource Scaffold

    4. RESTful Routes

    5. Wrapping Up the Scaffolding

    6. What’s Next?

  3. Chapter 3 Active Record Basics

    1. Active Record Basics

    2. Generating Models

    3. Basic Active Record Classes

    4. Attributes

    5. Complex Classes

    6. Behavior

    7. Moving Forward

  4. Chapter 4 Active Record Relationships

    1. belongs_to

    2. has_many

    3. has_one

    4. has_and_belongs_to_many

    5. acts_as_list

    6. Trees

    7. What You Haven’t Seen

    8. Looking Ahead

  5. Chapter 5 Working with Views

    1. The Big Picture

    2. Seeing Real Photos

    3. View Templates

    4. Setting the Default Root

    5. Stylesheets

    6. Hierarchical Categories

    7. Styling the Slideshows

  6. Chapter 6 Ajax

    1. How Rails Implements Ajax

    2. Playing a Slideshow

    3. Using Drag-and-Drop to Reorder Slides

    4. Drag-and-Drop Everything (Almost Everything)

    5. Filtering by Category

  7. Chapter 7 Testing

    1. Background

    2. Ruby’s Test::Unit

    3. Testing in Rails

    4. Test Coverage

    5. Mocking with Mocha

    6. Assertions and Integration Tests

    7. Wrapping Up

  1. Appendix Installing Rails

    1. Windows

    2. OS X

    3. Linux

  2. Appendix Quick Reference

    1. General

    2. Testing

    3. RJS (Ruby JavaScript)

    4. Active Record

    5. Controllers

    6. Views

    7. Ajax

    8. Configuring Your Application

  3. Colophon

View Full Table of Contents
Product Details
Title:
Rails: Up and Running, Second Edition
By:
Bruce A. Tate, Lance Carlson, Curt Hibbs, Curt Hibbs
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
October 2008
Ebook Release:
October 2008
Pages:
224
Print ISBN:
978-0-596-52200-1
| ISBN 10:
0-596-52200-2
Ebook ISBN:
978-0-596-15658-9
| ISBN 10:
0-596-15658-8
Customer Reviews
About the Authors
  1. Bruce A. Tate

    Bruce A. Tate is a kayaker, mountain biker, and father of two. In his spare time, he is an independent consultant in Austin, Texas. In 2001, he founded J2Life, LLC, a consulting firm that specializes in Java persistence frameworks and lightweight development methods. His customers have included FedEx, Great West Life, TheServerSide, and BEA. He speaks at conferences and Java user's groups around the nation. Before striking out on his own, Bruce spent 13 years at IBM working on database technologies, object-oriented infrastructure, and Java. He was recruited away from IBM to help start the client services practice in an Austin startup called Pervado Systems. He later served a brief stint as CTO of IronGrid, which built nimble Java performance tools. Bruce is the author of four books, including the bestselling "Bitter Java", and the recently released Better, Faster, Lighter Java, from O'Reilly. First rule of kayak: When in doubt, paddle like Hell.

    View Bruce A. Tate's full profile page.

  2. Lance Carlson

    Lance Carlson has been programming Ruby since Rails version 0.13 was released, and he has been riding on its coattails since. He currently owns Ruby Skills, a Ruby consultancy firm and is working for Engine Yard as an application support engineer. Lance has contributed to various Ruby open source projects such as Merb, Rails, DataMapper, and he is also the creator of Ruby Anvil.

    View Lance Carlson's full profile page.

  3. Curt Hibbs

    Curt Hibbs has always been slightly obsessed with new technologies and tracking technology trends. But he will tell you that this is simply because he is lazy, always looking for new methods and technologies to make his work easier and more productive. This led to his discovery of Ruby in 2001 (when it was still relatively unknown outside of Japan) and to his founding several highly successful Ruby open source projects.

    For most of his professional career, which started in the early 1970's, Curt has been a consultant to well-known companies like Hewlett Packard, Intuit, Corel, WordStar, Charles Schwab, Vivendi Universal, and more. He has also been a principal in several startups. Curt now works as a Senior Software Engineer for The Boeing Company in St. Louis.

    View Curt Hibbs's full profile page.

Colophon

The animal on the cover of Rails: Up and Running, Second Edition, is an ibex (Capra pyrenaica). Found in the mountains of Europe, central Asia, and North Africa, the ibex spends most of its time at an altitude of 7,500 to 11,500 feet. The ibex is known for its impressively long horns, which can grow up to three feet on males. During mating season, ibex males bang their horns together in intense battles over mating rights.

Although the physics of such a feat seems dubious, according to legend, the ibex's horns were so strong that, if threatened, the animal could hurl itself from a precipice and land unharmed on them.

The cover image is from Riverside Natural History. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSansMonoCondensed.

  • Book cover of Rails: Up and Running