re-write error message for no answers
This commit is contained in:
parent
953a7b2384
commit
348b67870f
1 changed files with 1 additions and 1 deletions
|
|
@ -14,6 +14,6 @@ class Question < ActiveRecord::Base
|
|||
private
|
||||
|
||||
def existing_answers
|
||||
errors.add(:base, 'The question must have answers') if self.answers.blank?
|
||||
errors.add(:base, 'Must have answers') if self.answers.blank?
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue