Im using Rails 3.2.3 and Ruby 1.9.3.
I want to deploy my app to heroku but am having some issues.

Basically I can push it to heroku but no tables are created, at least
all data is empty.

I can't login as it says "Invalid username/password" and my item list in
my index is completely empty, when in development it isn't.

Im using MySQL2 in developemnt and PG in Production as that is what
heroku uses.
I've looked at tutorials and troubleshooting tips and came up with the
following:

I've added this line in my /config/environment/production.rb
  config.assets.initialize_on_precompile = false

I've ran: git push heroku master

and heroku run rake db:migrate

I've also checked the DB versions and both are the same, on heroku, and
locally.

Finally, in my gemfile i've added:

group :development, :test do
  gem 'mysql2'
end
group :production do
  gem 'pg'
end



Any tips? I don't see how to resolve this, thanks in advance

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to