I cannot find this answer anywhere. Apologies in advance…
I need to get the unique values from a particular column and this code
seems to work fine:
Street.find(:all, :group => :pre_type)
:pre_type being the ONLY column I need results for. The above code
returns the data from all the other columns for each particular row,
which is more than I need.