Drop/Create/Migrate Postgres Database On Heroku

I’m ALWAYS forgetting how to reset the postgres database on Heroku, because the typical rake db:drop/create/migrate won’t work on the Heroku command line. This is 99% for my own future reference, but to reset the database on Heroku:  heroku pg:reset  it will ask you to type in your heroku url, follow the directions and do […]

Open Government

This was an assignment for class, Open Source Software.   I’ll be summarizing “How the Internet will (one day) transform government” by Clay Shirky https://www.ted.com/talks/clay_shirky_how_the_internet_will_one_day_transform_government The main point that Shirky was making is that communication has fundamentally changed and our government should reflect that.  Open government, as it works today, is only open one way, […]

Facebook User Authentication Using OmniAuth

Introduction OmniAuth is a Ruby on Rails library that provides standardized multi-provider authentication for web applications.  It makes login easy for user by allowing them to  use usernames and passwords from other websites to log into your app.  OmniAuth works on a number of providers, such as Amazon, Github, and Facebook.  A full list of provider […]

Deploying Rails to Heroku

While deploying an initial version of Crapper Keeper, I ran into a problem with Heroku.  Deploying to Heroku is super easy, since you just have to deploy a Github branch and the site is live a few moments later.  My app, which was running well locally, suddenly was having database problems. Crapper Keeper is a Ruby […]