[FIXED]: How to catch TinyTds::Error on Rails
- Efetue login ou registre-se para postar comentários
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
.