Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master

Make Translation.available_locales select distinct values.

Before:
> Translation.available_locales
SELECT DISTINCT `translations`.* FROM `translations`

After:
> Translation.distinct.pluck(:locale).map(&:to_sym)
SELECT DISTINCT `translations`.`locale` FROM `translations`
latest commit 5cb013b6b8
@kaspth kaspth authored
Something went wrong with that request. Please try again.