Activity 1

Add a date and time to the sidebar. It doesn’t have to update; just show the value at the time the page was displayed.

Hint: you can find the sidebar is in the application layout, inside the <div id="side"> element. You previously included the time in the hello page in the Instant Gratification chapter.

Discuss

Activity 2

Experiment with setting various number_to_currency helper method options, and see the effect on your catalog listing.

Hint: you might find it helpful to consult the API documentation.

Discuss

Activity 3

Write some functional tests for the product maintenance application using assert_select. The tests will need to be placed into the test/functional/products_controller_test.rb file.

Hint: you might find it helpful to consult the API documentation.

Discuss

Activity 4

Just a reminder—the end of an iteration is a good time to save your work using Git. If you have been following along, you have the basics you need at this point. We will pick things back up, in terms of exploring more Git functionality, in Section 16.2, Prepping Your Deployment Server, on page 243.

Hint: Check out the quick Git Reference

Discuss