class Array

def uniq_by!(&block)

Same as +uniq_by+, but modifies +self+.

*DEPRECATED*: Use Array#uniq! instead.
def uniq_by!(&block)
  ActiveSupport::Deprecation.warn 'uniq_by! is deprecated. Use Array#uniq! instead'
  uniq!(&block)
end