pg gem install + update validations and associations