If we have multiple developers collaborating on development, we might feel uncomfortable putting the details of the configuration of our database (potentially including passwords!) into our configuration management system. To address this, copy the completed database.yml into the shared directory, and write a task instructing Capistrano to copy this file into your current directory each time you deploy. Discuss
Introduce a change to the schema to add a price to a line item. Make sure that the migration fills in this value. Modify the add_product method in the Cart model to capture this information from the Product. Modify the total_price method in the LineItem model to compute the sum using this value. Modify the _line_item partial to display this value.
Once you have this change working, deploy this change. Discuss