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



213
214
215
216
# File 'lib/acts-as-taggable-on/taggable/collection.rb', line 213

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