Here's one way to approach this. I have used this method before, and it worked 
really well.

https://blog.heroku.com/archives/2007/11/23/yamldb_for_databaseindependent_data_dumps

Walter

On Jul 7, 2014, at 10:27 PM, Duong vong veasna wrote:

> In my local machine i had input some data into database using SQLite3 .when i 
> deployed it to heroku why i can't get data that i input? i'm do like this
> 
> -in Gemfile
> group :development do
>   gem 'sqlite3'
> end
> group :production do
>   gem 'pg'
>   gem 'rails_12factor'
> end
> -bundle install
> -heroku login
> -git init 
> -git add .
> -git commit -m "test"
> -git create
> -git push heroku master
> -heroku run rake db:migrate
> 
> how can i get some data when i deployed it to heroku? please help me.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/e32f3f7f-d17e-4fb6-a6e6-18c0b337699d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/3011E4AB-86F1-42DD-B62D-3A80D1487894%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to