Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Praise for Rails 3 in Action

Preface

Acknowledgments

About this Book

Chapter 1. Ruby on Rails, the framework

1.1. Ruby on Rails overview

1.1.1. Benefits

1.1.2. Ruby gems

1.1.3. Common terms

1.1.4. Rails in the wild

1.2. Developing your first application

1.2.1. Installing Rails

1.2.2. Generating an application

1.2.3. Starting the application

1.2.4. Scaffolding

1.2.5. Migrations

1.2.6. Viewing and creating purchases

1.2.7. Validations

1.2.8. Routing

1.2.9. Updating

1.2.10. Deleting

1.3. Summary

Chapter 2. Testing saves your bacon

2.1. Using TDD and BDD to save your bacon

2.2. Test-driven development basics

2.2.1. Writing your first test

2.2.2. Saving bacon

2.3. Behavior-driven development basics

2.3.1. Introducing RSpec

2.3.2. Writing your first spec

2.3.3. Running the spec

2.3.4. Much more bacon

2.3.5. Expiring bacon

2.4. Summary

Chapter 3. Developing a real Rails application

3.1. First steps

3.1.1. The application story

3.1.2. Laying the foundations

3.2. Version control

3.2.1. Getting started with GitHub

3.2.2. Configuring your Git client

3.3. Application configuration

3.3.1. The Gemfile and generators

3.3.2. Database configuration