ruby for pg