You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an application has a table patrons and a model Patron, then it causes webmock not to work, because it checks if Patron is defined. Because Patron is defined, it fails with uninitialized constant Patron::Session
# lib/webmock/http_lib_adapters/patron_adapter.rb
begin
require 'patron'
rescue LoadError
# patron not found
end
if defined?(::Patron) # <<<--- replace this?
The text was updated successfully, but these errors were encountered:
If an application has a table
patrons
and a model Patron, then it causes webmock not to work, because it checks if Patron is defined. Because Patron is defined, it fails withuninitialized constant Patron::Session
The text was updated successfully, but these errors were encountered: