Use of Ruby 2.0.0-p247 is now recommended
Simplified and refactored interals of the query show page