Skip to content

Commit

Permalink
Merge pull request #336 from stuxcrystal/stuxcrystal-patch-1
Browse files Browse the repository at this point in the history
Fixes #335
  • Loading branch information
pokonski authored Mar 19, 2019
2 parents 24767e4 + 6b280f1 commit e4357cd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/public_activity/orm/active_record/activity.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# frozen_string_literal: true

module PublicActivity

if not defined? ::PG::ConnectionBad
module ::PG
class ConnectionBad < Exception; end
end
end
if not defined? Mysql2::Error::ConnectionError
module Mysql2
module Error
class ConnectionError < Exception; end
end
end
end

module ORM
module ActiveRecord
# The ActiveRecord model containing
Expand Down

0 comments on commit e4357cd

Please sign in to comment.