Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mghaught authored Nov 29, 2018
2 parents 834ea50 + a0dcb4e commit ce7dc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/proposal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Proposal < ApplicationRecord
# This used to be 600, but it's so confusing for users that the browser
# uses \r\n for newlines and they're over the 600 limit because of
# bytes they can't see. So we give them a bit of tolerance.
validates :abstract, length: {maximum: 625}
validates :abstract, length: {maximum: 1000}
validates :title, length: {maximum: 60}
validates_inclusion_of :state, in: valid_states, allow_nil: true, message: "'%{value}' not a valid state."
validates_inclusion_of :state, in: FINAL_STATES, allow_nil: false, message: "'%{value}' not a confirmable state.",
Expand Down

0 comments on commit ce7dc83

Please sign in to comment.