add pg to Gemfile
add Gemfile.lock
fix symbols vs strings bug
handle nonsense being passed in