Added has_many line_items and before_destroy hook to Product model