Incomplete Seeding

Fixed the seeding bugs with much help from Michael.
Originally, these were parsed as you have suggested. However, since this
was the only table that used 'category', I felt this was acceptable for now.

On Fri, Oct 3, 2014 at 2:31 PM, Michael Alexander <notifications@github.com>
wrote:

> In db/schema.rb:
>
> > +    t.datetime "updated_at"
> > +  end
> > +
> > +  create_table "orders", force: true do |t|
> > +    t.integer  "user_id",                          null: false
> > +    t.integer  "shipping_address"
> > +    t.integer  "billing_address"
> > +    t.boolean  "placed",           default: false
> > +    t.datetime "when_placed"
> > +    t.datetime "created_at"
> > +    t.datetime "updated_at"
> > +  end
> > +
> > +  create_table "products", force: true do |t|
> > +    t.string   "title",                           null: false
> > +    t.string   "category",    default: "General"
>
> Like here, a Category on its own prevents the future possibility of
> renaming a category without going through every table it is related to.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/vikingeducation/viking_store/pull/2/files#r18420666>.
>