Topic
Rails
3 notes.
How to Import/restore data into Heroku postgres database from a dump file
I was working on a rails app and i had a huge amount of data in my local Postgres database. This is what i did to import data into the database at heroku from a dump file of my local database.
Rails: How to Update the Source code of an existing app on Heroku
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.
RubyOnRails: Create a Controller and Views for it using a single command
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…