Populating a sinatra site using postgres