Project

General

Profile

Defect #11024

Updated by Toshi MARUYAMA over 6 years ago

On Redmine 2.0.0, by following the tutorial on creating a new plugin ([[Plugin_Tutorial]]), (http://www.redmine.org/projects/redmine/wiki/Plugin_Tutorial), the following command: 
 <pre> 
 ruby script/generate redmine_plugin_model polls poll question:string yes:integer no:integer 
 </pre> 

 which actually I launched as: 
 <pre> 
 ./script/rails generate redmine_plugin_model polls poll question:string yes:integer no:integer 
 </pre> 

 does not generate the migration files, but it generates only these two files: 
 <pre> 
 create    plugins/polls/app/models/poll.rb 
 create    plugins/polls/test/unit/poll_test.rb 
 </pre> 


Back