Changing a Sinatra application from using hard coded hashes as it's data source to using a PostgreSQL database with Active Record