Listing 7.1 Adding some debug information to the site layout
Listing 7.1 Adding some debug information to the site layout (fixed typo)
Listing 7.2 Adding code for a pretty debug box, including a Sass mixin
Listing 7.3 Adding a Users resource to the routes file
Listing 7.4 A stub view for showing user information
Listing 7.5 The Users controller with a show action
Listing 7.4 A stub view for showing user information (fixed typo)
Listing 7.7 Adding Factory Girl to the Gemfile
Listing 7.8 A factory to simulate User model objects
Listing 7.9 A test for the user show page
Listing 7.10 Adding a title and heading for the user profile page
Listing 7.11 Redefining the BCrypt cost factor in a test environment
Listing 7.11 Redefining the BCrypt cost factor in a test environment (fix typo)
Listing 7.12 The user show view with name and Gravatar
Listing 7.13 Defining a gravatar_for helper method
Listing 7.14 Adding a sidebar to the user show view
Listing 7.15 SCSS for styling the user show page, including the sidebar
Listing 7.16 Good basic tests for signing up users
Listing 7.17 A form to sign up new users
Listing 7.17 A form to sign up new users (fixed typo