foxnewsnetwork/American-Lit-315 — Issue #21: Unified pictures model
Author: foxnewsnetwork
Created: 2012-01-16 20:48:33+00:00
State: open

It's inefficient to use paperclip for the ads, coupons, etc. models individually. Use an unified pictures model to keep track of all the pictures and the powers of additional tables and the relational nature of mysql to create a comprehensive database backend to properly store pictures for any given ad, coupon, etc.

In example: ad -> (has_many) -> ad_picture -> (belongs_to) -> picture

In addition, clean up all the unused tables