basic setup rails application with postgresql working properly