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

Version Path
acts-as-taggable-on-simonwh-2.0.0.pre1 lib/acts_as_taggable_on/group_helper.rb
simonwh-acts-as-taggable-on-2.0.0.pre1 lib/acts_as_taggable_on/group_helper.rb
acts-as-taggable-on-2.0.0.pre1 lib/acts_as_taggable_on/group_helper.rb