Module: ActsAsTaggableOn::Taggable::Collection::CalculationMethods

Defined in:
lib/acts_as_taggable_on/taggable/collection.rb

Instance Method Summary collapse

Instance Method Details

#count(column_name = :all, options = {}) ⇒ Object

Rails 5 TODO: Remove options argument as soon we remove support to activerecord-deprecated_finders. See github.com/rails/rails/blob/master/activerecord/lib/active_record/relation/calculations.rb#L38



177
178
179
180
# File 'lib/acts_as_taggable_on/taggable/collection.rb', line 177

def count(column_name = :all, options = {})
  # https://github.com/rails/rails/commit/da9b5d4a8435b744fcf278fffd6d7f1e36d4a4f2
  super(column_name)
end