when to create new controller in rails code example
Example 1: rails controller generator
$ rails generate controller Welcome index
Example 2: how to create new rails app
#first make sure you have rails installed, then...
rails new your_new_rails_app_name