after_create plan callback for saving answers. TODO error handling at answers#update. DMPRoadmap/roadmap#530
error handling for when an answer does not exist. DMPRoadmap/roadmap#530

error handling for answering questions. DMPRoadmap/roadmap#530

optimistic locking fixed. DMPRoadmap/roadmap#530

fixed tests after create callback for answers. Refactored answers js file. DMPRoadmap/roadmap#530
dev
1 parent b7a49e1 commit e6664c4eb00a3b6d694692a5c783da6a28225f7d
@Jose Lloret Jose Lloret authored on 25 Oct 2017
Showing 11 changed files
View
app/controllers/answers_controller.rb
View
app/models/plan.rb
View
app/views/answers/_new_edit.html.erb
View
app/views/answers/_status.html.erb
View
app/views/phases/_edit_plan_answers.html.erb
View
lib/assets/javascripts/application.js
View
lib/assets/javascripts/views/answers/edit.js 0 → 100644
View
lib/assets/javascripts/views/answers/status.js 100644 → 0
View
test/functional/answers_controller_test.rb
View
test/integration/answer_locking_test.rb
View
test/unit/plan_test.rb