Sha256: 103e98da854c7413d291218d367270da2efa2df424b63ca46afec71cce8c4cff
Contents?: true
Size: 327 Bytes
Versions: 3
Compression:
Stored size: 327 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
3 entries across 3 versions & 3 rubygems