rails new (4.1.4)
Add pocket gem
Generate controller home#index
Generate sessions controller
Generate user model

rails g model user provider:string uid:string name:string
Sign In, Sign Out
/logout -> /signout
Show a random item of Pocket
Implement title helper method
Implement /archive/:item_id
production: 'pg', development: 'sqlite'

For Heroku
bundle install
Change production datatabse to postgresql in config/database.yml
Setting PostgreSQL for Heroku

https://devcenter.heroku.com/articles/getting-started-with-rails4#use-postgres
Copy old database.yaml
Copy from heroku setting

https://devcenter.heroku.com/articles/getting-started-with-rails4#use-postgres
Add a production database setting
Try

http://stackoverflow.com/questions/21690245/problems-with-rails-server
Reference from ENV['DATABASE_URL']

https://devcenter.heroku.com/changelog-items/426
Bug