This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What's wrong with db:migrate? | |
commands: | |
jruby -S rails new iapple2 -m http://jruby.org/rails3.rb | |
cd iapple2 | |
jruby -S rails generate scaffold Product name:string capacity:string color:string price:string logistics:string | |
rake db:migrate --trace | |
(in /home/sysadmin/Workspaces/Projects/iapple2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I create a new project use postgresql database. Then run the following commands: | |
jruby -S rails generate scaffold Product name:string capacity:string color:string price:string logistics:string | |
rake db:migrate | |
rails server | |
Then I goto page http://localhost:3000/products to add a new product, and then click "New product" button to save, but failed: | |
wrong number of arguments (6 for 5). |