PostgreSQL
 sql >> Datenbank >  >> RDS >> PostgreSQL

Heroku PostgreSQL GROUP_BY-Fehler in der Rails-App

Practice.group(Practice.col_list)



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