[rails] select distinct

[rails] select distinct