Fixed admin/products_controller.rb, didn't have @cateogires in create and update methods.