I need the results of a custom SQL query to create a list in a view.
Thats the query:
@classes = ActiveRecord::Base.connection.execute "SELECT DISTINCT
CLASS
FROM SymbolsMatch_MASTER"
execute just executes without returning anything. If you want the
result then you want one of select_all/select_values/select_value
etc... (in this particular case select_values would do the trick)