Sha256: 81345636201356be93df10ef1bffb8cf866f597e6b8a699ed8d278e5cf8540f2
Contents?: true
Size: 325 Bytes
Versions: 21
Compression:
Stored size: 325 Bytes
Contents
module ActiveRecord module Acts module TaggableOn module GroupHelper # all column names are necessary for PostgreSQL group clause def grouped_column_names_for(object) object.column_names.map { |column| "#{object.table_name}.#{column}" }.join(", ") end end end end end
Version data entries
21 entries across 21 versions & 2 rubygems