Scaffolding Rails4 Empty Controller
问题 I'm using multiple scaffolding in my testapp project. i have created 1st scaffold like this: rails g Post title desc:text it was successful and created all relevant files and controller as well. but when i made another scaffold : testapp$ rails g scaffold product name:string information:text 'price:decimal{7,2}' stock:integer available:boolean invoke active_record create db/migrate/20140513062549_create_products.rb create app/models/product.rb invoke test_unit create test/models/product_test