Remove deprecated ActiveSupport::Benchmarkable#silence
Relation#all is deprecated in Rails 4.

Call #load instead, and use #distinct instead of #uniq.