PostgreSQL
 sql >> Base de Dados >  >> RDS >> PostgreSQL

Erro GROUP_BY do Heroku PostgreSQL no aplicativo Rails

Practice.group(Practice.col_list)



def self.col_list
  Practice.column_names.collect {|c| "practices.#{c}"}.join(",")
end