Changed db gem to postgresql