Module: ActiveRecordPostgresqlXverify::ErrorHandler
- Defined in:
- lib/active_record_postgresql_xverify/error_handler.rb
Instance Method Summary collapse
Instance Method Details
#_flag_extend_verify! ⇒ Object
19 20 21 |
# File 'lib/active_record_postgresql_xverify/error_handler.rb', line 19 def _flag_extend_verify! Thread.current[ActiveRecordPostgresqlXverify::EXTEND_VERIFY_FLAG] = true end |
#execute ⇒ Object
5 6 7 8 9 10 |
# File 'lib/active_record_postgresql_xverify/error_handler.rb', line 5 def execute(*) super rescue StandardError _flag_extend_verify! raise end |
#execute_and_clear ⇒ Object
12 13 14 15 16 17 |
# File 'lib/active_record_postgresql_xverify/error_handler.rb', line 12 def execute_and_clear(*) super rescue StandardError _flag_extend_verify! raise end |