allows updates of cached_votes

This commit is contained in:
rgarcia
2015-10-12 22:38:18 +02:00
parent f7f6d91c9d
commit fdd777174c
2 changed files with 17 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ module Taggable
included do
acts_as_taggable
validate :max_number_of_tags
validate :max_number_of_tags, on: :create
end
def tag_list_with_limit(limit = nil)