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. Discuss

The full description of the number_to_currency helper method is.

number_to_currency(number, options = {}) Formats a number into a currency string. The options hash can be used to customize the for mat of the output. The number can contain a level of precision using the :precision key; default is 2 The currency type can be set using the :unit key; default is ”$” The unit separator can be set using the :separator key; default is ”.” The delimiter can be set using the :delimiter key; default is ”,”.

number_to_currency(1234567890.50) > #=> $1,234,567,890.50 number_to_currency(1234567890.506) > #=> $1,234,567,890.51 number_to_currency(1234567890.50, :unit => "£", :separator => ",", :delimiter => "") > #=> £1234567890,50

Experiment with setting various options, and see the effect on your catalog listing. Discuss

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. Discuss