Генератор контроллера Rails
$ rails generate controller Welcome index
Successful Sandpiper
$ rails generate controller Welcome index
questionaire:belongs_to name question_type:integer required:boolean