one word tags, fix captcha two word mention

This commit is contained in:
Kyle Drake 2014-07-21 15:19:15 -05:00
parent 9cedbd086d
commit ba840423a6
5 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
class Tag < Sequel::Model
NAME_LENGTH_MAX = 20
NAME_WORDS_MAX = 2
NAME_WORDS_MAX = 1
many_to_many :sites
def before_create