We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 834ea50 + a0dcb4e commit ce7dc83Copy full SHA for ce7dc83
1 file changed
app/models/proposal.rb
@@ -23,7 +23,7 @@ class Proposal < ApplicationRecord
23
# This used to be 600, but it's so confusing for users that the browser
24
# uses \r\n for newlines and they're over the 600 limit because of
25
# bytes they can't see. So we give them a bit of tolerance.
26
- validates :abstract, length: {maximum: 625}
+ validates :abstract, length: {maximum: 1000}
27
validates :title, length: {maximum: 60}
28
validates_inclusion_of :state, in: valid_states, allow_nil: true, message: "'%{value}' not a valid state."
29
validates_inclusion_of :state, in: FINAL_STATES, allow_nil: false, message: "'%{value}' not a confirmable state.",
0 commit comments