library ruby program with postgresql (Epicodus)