sample rails app with pg