[FIXED]: How to catch TinyTds::Error on Rails
- Inicie sesión o registrese para enviar comentarios
The following worked for me:
Somehow, you have to rescue ActiveRecord::StatementInvalid
and not TinyTds::Error
.
The following worked for me:
Somehow, you have to rescue ActiveRecord::StatementInvalid
and not TinyTds::Error
.