Recently, i was working on an existing rails app hosted on Heroku.
After making few updates to the code, i was wondering on how to get it updated on Heroku.
This is what i did on my ubuntu machine.
Lets create a controller named ‘home‘ with views ‘index‘, ‘view2′ view3’. Fortunately, you can do that in a single command. Enter this command in your terminal: $ rails generate controller home index view2 view3 Rails will create several files for you, including app/views/home/index.html.erb. This is the template that will be used to display the results