document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. .span-24
  2.   = render :partial => \'admins/admin_bar.haml\'
  3. %br
  4. %br
  5.  
  6. .span-24.last
  7.   %h1
  8.     = t(\'.correlations_count\')
  9.   %table#metrics #we changed the output format to a nice table
  10.     %tr
  11.       %th Metric
  12.       %th Result
  13.     - @correlations_hash.keys.each do |k|
  14.       %tr
  15.         %td= k.to_s.gsub(\'_\', \' \').split(\' \').each{|word| word.capitalize!}.join(\' \') #we added this to format the name of each variable stored in the hash (e.g. posts_count => Posts Count)
  16.         %td= @correlations_hash[k]
');