Skip to content

Commit

Permalink
Remove obsolete diagnostic code for partials
Browse files Browse the repository at this point in the history
The explain_partials code provided functionality to identify which
partials were generating a particular part of a rendered page.

The gem x-ray rails provides the same functionality in a cleaner,
better integrated fashion.  See https://github.com/brentd/xray-rails

This PR should also slightly improve coverage by removing unused code.
  • Loading branch information
mark-dce committed Mar 13, 2021
1 parent 7b65ef2 commit 7f54ef0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ gem 'twitter-bootstrap-rails'
gem 'uglifier', '>= 1.3.0'
gem 'webpacker', '~> 4'
gem 'whenever', require: false
gem 'xray-rails'
gem 'yard'

group :development, :test do
Expand Down Expand Up @@ -96,6 +95,7 @@ group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere
# in the code.
gem 'web-console', '>= 3.3.0'
gem 'xray-rails'
end

extra_gems = "/opt/laevigata/shared/Gemfile.local"
Expand Down
16 changes: 0 additions & 16 deletions config/initializers/explain_partials.rb

This file was deleted.

0 comments on commit 7f54ef0

Please sign in to comment.