Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Preface

Acknowledgments

About this Book

About the Authors

About the Cover Illustration

Chapter 1. Ruby on Rails, the framework

1.1. What is Ruby on Rails?

1.1.1. Benefits

1.1.2. Common terms

1.1.3. 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. Showing off

1.2.9. Routing

1.2.10. Updating

1.2.11. Deleting

1.3. Summary

Chapter 2. Testing saves your bacon

2.1. Test- and behavior-driven development

2.2. Test-driven development

2.2.1. Why test?

2.2.2. Writing your first test

2.2.3. Saving bacon

2.3. Behavior-driven development

2.3.1. RSpec

2.3.2. Cucumber

2.4. Summary

Chapter 3. Developing a real Rails application

3.1. Application setup

3.1.1. The application story

3.1.2. Version control

3.1.3. The Gemfile and generators

3.1.4. Database configuration

3.1.5. Applying a stylesheet

3.2. First steps

3.2.1. Creating projects

3.2.2. RESTful routing

3.2.3. Committing changes

3.2.4. Setting a page title