1 if defined?(ActiveRecord::ConnectionAdaptors::AbstractAdapter)
3 module ConnectionAdapters
9 def translate_exception_class_with_timeout(e, sql)
10 if e.is_a?(Timeout::Error) || e.is_a?(OSM::APITimeoutError)
13 translate_exception_class_without_timeout(e, sql)
17 alias_method_chain :translate_exception_class, :timeout