Installed and configured Dragonfly, a file attachment handling gem. Configured Dragonfly to store the images in the database instead of on the file system.
Created an Image model and added a polymorphic embedded relation with the Product model.
Added image management controllers to the backend and added needed routes.
Added image management views. Updated the edit product page so the product's images are displayed.
Installed markdown so Product descriptions can now use markdown to provide extra formatting.
Product images are now displayed nicely on the frontend product pages.
Merge branch 'develop-product-images' into develop
RubyMine IDE files should be ignored.
Minor bugfixes:
- 'No data' row on the show cart page didn't span enough columns
- When the cart is empty, the total price was returned as Integer 0 instead of Money 0.
- After adding a product in the backend, the user was redirected to the show product page in the frontend.