Migrate poll options max 4 to 8
This commit is contained in:
parent
239d4a3ed0
commit
9cee344e99
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class PollValidator < ActiveModel::Validator
|
||||
MAX_OPTIONS = 4
|
||||
MAX_OPTIONS = 8
|
||||
MAX_OPTION_CHARS = 50
|
||||
MAX_EXPIRATION = 1.month.freeze
|
||||
MIN_EXPIRATION = 5.minutes.freeze
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue