MrDys / blacklight

Blacklight Plugin
http://projectblacklight.org/
Other
1 stars 1 forks source link

Replace _solr_request debug partial with Rails Footnotes/RSolr Footnotes #512

Closed MrDys closed 12 years ago

MrDys commented 12 years ago

CODEBASE-327: Rails Footnotes is a helpful plugin that displays footnotes in your application for easy debugging, such as sessions, request parameters, cookies, filter chain, routes, queries, etc. Installing Rails Footnotes is very easy, just add this to your Gemfile: gem 'rails-footnotes', '>= 3.7', :group => :development

And add something like this to config/initializers/footnotes.rb to run the Footnotes plugin:

if defined?(Footnotes) && Rails.env.development? Footnotes.run! end

To add RSolr debugging information to the footnotes panel, you can use the RSolr Footnotes gem by adding this to your Gemfile:

gem "rsolr-footnotes", :group => :development

RSolr footnotes will capture every solr request with basic performance information and provide a link back to the Solr request URL.

https://github.com/projectblacklight/blacklight/wiki/Integration-with-Rails-Footnotes

MrDys commented 12 years ago

Original reporter: cbeer

MrDys commented 12 years ago

cbeer: Removed existing display partial and documented installation on the wiki