Database Error Messages

Can I access the error message returned from the database, in this
case PostgreSQL? I know I should do all validation in the model, but
stuff happens…

Thanks!

  • Ian

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs