PostgreSQL
 sql >> Database >  >> RDS >> PostgreSQL

Errore Heroku PostgreSQL GROUP_BY nell'app Rails

Practice.group(Practice.col_list)



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