Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 74152df

Browse files
committed
closes #75
1 parent 7ca184b commit 74152df

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

lib/reactive_record/permissions.rb

-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
module ReactiveRecord
2-
class AccessViolation < StandardError
3-
def message
4-
"ReactiveRecord::AccessViolation: #{super}"
5-
end
6-
end
7-
end
8-
91
module Hyperloop
102
class InternalPolicy
113

lib/reactive_record/pry.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module ReactiveRecord
33
module Pry
44

55
def self.rescued(e)
6-
if defined?(PryRescue) && e.instance_variable_defined?(:@rescue_bindings) && !e.is_a?(ReactiveRecord::AccessViolation)
6+
if defined?(PryRescue) && e.instance_variable_defined?(:@rescue_bindings) && !e.is_a?(Hyperloop::AccessViolation)
77
::Pry::rescued(e)
88
end
99
end

0 commit comments

Comments
 (0)