Skip to content

Commit

Permalink
Revert "Show real repository adapter on Debug page"
Browse files Browse the repository at this point in the history
This reverts commit 89d0275.
  • Loading branch information
lukaszreszke committed Jul 25, 2024
1 parent 7b59b9c commit c653326
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ def event_in_stream?(event_id, stream)
@repo_reader.event_in_stream?(event_id, stream)
end

def specification
"#{self.class.name} with #{::ActiveRecord::Base.connection.adapter_name} db adapter"
end

private

attr_reader :serializer
Expand Down
8 changes: 0 additions & 8 deletions ruby_event_store/lib/ruby_event_store/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,6 @@ def call
unsubs.each(&:call) if unsubs
end

def repository_specification
if repository.respond_to?(:specification)
repository.specification
else
repository.class.to_s
end
end

private
attr_reader :resolver

Expand Down

0 comments on commit c653326

Please sign in to comment.