class I18nContentTranslation < ActiveRecord::Base
  def self.existing_languages
    self.select(:locale).uniq.map{ |l| l.locale.to_sym }.to_a
  end
end

class I18nContentTranslation < ActiveRecord::Base
  def self.existing_languages
    self.select(:locale).distinct.map { |l| l.locale.to_sym }.to_a
  end
end

Fix deprecation warning for `.uniq` usage
Fix deprecation warning for `.uniq` usage
