Permalink
Browse files

What's this supposed to do anyway? (removed lines to fix 2012 history…

… bug).
  • Loading branch information...
1 parent 096271b commit d486d08605520e8dcf3ec191614c4873344bb7ac @gunn committed Jan 14, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 app/models/rails_admin/history.rb
View
4 app/models/rails_admin/history.rb
@@ -29,10 +29,6 @@ def self.get_history_for_dates(mstart, mstop, ystart, ystop)
((mstart == 12 ? 1 : mstart + 1)..mstop).to_a, ystop])
end
- results.each do |result|
- result.record_count = result.record_count.to_i
- end
-
add_blank_results(results, mstart, ystart)
end

0 comments on commit d486d08

Please sign in to comment.