foxnewsnetwork/American-Lit-315 — Issue #41: Product Type fixes
Author: trevor-umeda
Created: 2012-02-18 21:17:14+00:00
State: open

Type of product is now an actual table. It'll be small and maybe a waste of space for now but it allows for growth.

product/new now has a dropdown box so they can select types. It takes all types from the type table

product/inventory display now just goes over all types, if there is no type of that in inventory it doesn't try to show it.

Mainly these changes are to make it easily maintainable, just have to add types in one spot. Also for those trying to update the code, maybe like thomas, we won't have the same stuff in our db so alot of stuff will fail. This should make it so anyone can pull and see whats up.

To update types just update in the seed file.

This isn't an issue but just an update on what I did so you'll know. If everything is fine close this issue.
Remember to run db:seed and db:migrate