How to Import/restore data into Heroku postgres database from a dump file

On September 24, 2012, in Heroku, PostgreSql, Rails, by Dipin Krishna

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.

Tagged with:  

Rails: How to Update the Source code of an existing app on Heroku

On September 23, 2012, in Heroku, Rails, by Dipin Krishna

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.

Tagged with:  

RubyOnRails: Create a Controller and Views for it using a single command

On February 6, 2011, in Rails, Ruby, by Dipin Krishna

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 [...]

Tagged with:  

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Unlimited Domain Hosting Unlimited Domain Hosting
IP Address : 54.205.95.9
Country : United States
Featured FREE Resource: