When I use heroku open my web app works fine but when I\'m using rails s (localhost) I am running into this error:
ActiveRecord::AdapterNotSpecified database
For you app to work locally you need to:
my_app_development)Change your database.yml to:
default: &default
adapter: postgresql
encoding: unicode
# For details on connection pooling, see rails configuration guide
# http://guides.rubyonrails.org/configuring.html#database-pooling
pool: 5
development:
<<: *default
database: my_app_development
run rake db:migrate