255
This commit is contained in:
parent
c18ac74700
commit
e305a67d1e
|
@ -2,5 +2,5 @@ class Question < ActiveRecord::Base
|
||||||
belongs_to :user
|
belongs_to :user
|
||||||
has_many :answers
|
has_many :answers
|
||||||
|
|
||||||
validates :content, length: { maximum: 200 }
|
validates :content, length: { maximum: 255 }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue