a simple ruby on rails app with postgresql database