Re: [Rails] how can get data from localhost:3000 in ruby on rails to heroku

I don't think you understand the concept of databases very well.

Look on google how to use the "seeds.rb" file. Maybe that will help


===================
Alexandre Mondaini Calvão

"Nossa recompensa se encontra no esforço e não no resultado. Um esforço total é uma vitória completa." [Ghandi]


2014-07-07 23:27 GMT-03:00 Duong vong veasna <veasnakhmerit@gmail.com>:
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BaBw4RF-ApcnL9kgkhosojZEz7oBgnxYriojvFrS4QA-v_1Lw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.