Now I upgrade rails 3.0.7 to rails 3.1 to version. When I create a sample project, it works fine. After creating the scaffold, I try to migrate, but it gives me the rake canceled! message.
Here is my code
rails g scaffold product name:string price:decimal category:string invoke active_record create db/migrate/20110517090853_create_products.rb create app/models/product.rb invoke test_unit create test/unit/product_test.rb create test/fixtures/products.yml route resources :products invoke scaffold_controller create app/controllers/products_controller.rb invoke erb create app/views/products create app/views/products/index.html.erb create app/views/products/edit.html.erb create app/views/products/show.html.erb create app/views/products/new.html.erb create app/views/products/_form.html.erb invoke test_unit create test/functional/products_controller_test.rb invoke helper create app/helpers/products_helper.rb invoke test_unit create test/unit/helpers/products_helper_test.rb create app/assets/stylesheets/scaffold.css.scss invoke assets create app/assets/javascripts/products.js.coffee create app/assets/stylesheets/products.css.scss rake db:migrate == CreateProducts: migrating =================================================
I am using ruby 1.9.2 and xampp.
Does anyone know what the problem is?
source share