small medium large xlarge

 

Task-C-CatalogDisplay

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

Page History
  • V9: eric tenne [about 1 year ago]
  • V8: Tyler Briles [over 5 years ago]
  • V7: Tyler Briles [over 5 years ago]
  • V6: Sam Ruby [almost 6 years ago]
  • V5: Sam Ruby [almost 6 years ago]
  • V4: Andrew de Andrade [about 6 years ago]
  • V3: Andrew de Andrade [over 6 years ago]
  • V2: Andrew de Andrade [over 6 years ago]
  • V1: Andrew de Andrade [over 6 years ago]