non-summary question edit bug fix
This commit is contained in:
1 parent
1ded44610b
commit
eb2eb65219
2 files changed
+9
-3
No files matched your search
@@ -7,4 +7,12 @@ class Answer < ApplicationRecord
|
||||
validates :candidate_id, presence: true
|
||||
validates :question_id, presence: true
|
||||
validates :answer, answer_format: true
|
||||
|
||||
# Throw away attributes
|
||||
# convenience for form manipulation
|
||||
def answer_array=(val); end
|
||||
|
||||
def answer_hash=(val); end
|
||||
|
||||
def answer_id=(val); end
|
||||
end
|
||||
Reference in new issue
Block a user