Chapter 3. Developing a real Rails application
This chapter covers
- Building the foundation for a major app
- Diving deep into app foundations
- Generating the first functionality for an app
This chapter gets you started on building a Ruby on Rails application from scratch using the techniques covered in the previous chapter plus a couple of new ones. With the techniques you learned in chapter 2, you can write features describing the behavior of the specific actions in your application and then implement the code you need to get the feature passing.
For the remainder of the book, this application is the main focus. We guide you through it in an Agile-like fashion. Agile focuses largely on iterative development, developing one feature at a time from start to finish, then refining the feature until it’s viewed as complete before moving on to the next one.[1]
1 More information about Agile can be found on Wikipedia: http://en.wikipedia.org/wiki/Agile_software_development.
Some of the concepts covered in this chapter were explained in chapter 1. Rather than using scaffolding, as you did previously, you write this application from the ground up using the behavior-driven development (BDD) process and other generators provided by Rails.