History for dmpopidor / app / models / answer.rb
2017-06-09
@Brian Riley
resolved merge conflicts from merging development 2016-06-09 into CDL-MVP
Brian Riley committed on 9 Jun 2017
2017-06-02
@Jose Lloret
Added method to validate answer according to each question format. Partial view for section progress. Eager loading of resources needed to calculate plan and section progress. Refactoring of code for progress plan. DMPRoadmap/roadmap#382 ...
Jose Lloret committed on 2 Jun 2017
2017-05-24
@bhavi
Plan duplication functionality. ...
bhavi committed on 24 May 2017
@Jose Lloret
Checkbox using rails FormHelper. Helper method at answer model for determining if an option should be selected. DMPRoadmap/roadmap#354
Jose Lloret committed on 24 May 2017
2017-04-13
@briley
updates to locking mechanism because it ActiveRecord does not catch 2 creates DMPRoadmap/roadmap#241
briley committed on 13 Apr 2017
2017-03-01
@ray.carrick
Optimistic Locking ...
ray.carrick committed on 1 Mar 2017
2017-02-02
@Ray Carrick
fixes post merge
Ray Carrick committed on 2 Feb 2017
@Ray Carrick
merge in changes from origin
Ray Carrick committed on 2 Feb 2017
@Ray Carrick
first port of plan creation and editing to new data model
Ray Carrick committed on 2 Feb 2017
2017-01-31
@briley
finished up answer and note unit tests
briley committed on 31 Jan 2017
@briley
unit tests for notes and answers. addded new validator to check whether the question's template matches the plans template
briley committed on 31 Jan 2017
2017-01-30
@briley
updated some of the plan.rb model to deal with outdated calls to dmptemplate. fixed up answer unit tests and added some validations to Answer
briley committed on 30 Jan 2017
@briley
Moved orcid_id from users table to user_identifiers. Added option_based flag to question_formats. switched Object.const_defined to table_exists checks in db migrations because rails loads references to classes on demand so the objects are likely not defined when the migrations run. safer to check for the underlying table's existence
briley committed on 30 Jan 2017
2017-01-27
@Brian Riley
started reworking answer unit test
Brian Riley committed on 27 Jan 2017
@Brian Riley
added new seed file that works with new schema. commented out plans and answers for now though because plan model is unfinished
Brian Riley committed on 27 Jan 2017
2017-01-26
@briley
resolved merge conflicts
briley committed on 26 Jan 2017
2017-01-20
@Brian Riley
put validation back in place that ensures a question can only have a single answer within a plan
Brian Riley committed on 20 Jan 2017
2017-01-13
@Brian Riley
fixed merge conflict in seeds.rb file. installed substance-rails gem and updated code to swap in the substance-forms text-area for tinymce on the answer section of the edit plans page
Brian Riley committed on 13 Jan 2017
2017-01-10
@briley
added validations and associations for Comment model. Also added unit test
briley committed on 10 Jan 2017
@briley
added validations to the Answer model and added unit test
briley committed on 10 Jan 2017
2016-12-20
@briley
attempted to add some unit tests for Answers but the data will be changing so much that it did not make sense to continue at this point. Created tests for Language
briley committed on 20 Dec 2016
2016-12-08
@xsrust
began changing models to reflect the new model names and relationships, additionally deleting some old/unused models which no longer apply in the new schema.
xsrust committed on 8 Dec 2016
2016-08-17
@Brian Riley
Merging current stable development branch into master (#23) ...
Brian Riley authored on 17 Aug 2016 GitHub committed on 17 Aug 2016
2016-08-12
@Damodar Sojka
Merging master (#20) ...
Damodar Sojka authored on 12 Aug 2016 Brian Riley committed on 12 Aug 2016
2016-07-22
@Brian Riley
Rails 4.2 (#10) ...
Brian Riley authored on 22 Jul 2016 GitHub committed on 22 Jul 2016
2016-06-03
@Marta Ribeiro
DMPonline4 - RAILS 4.0 (#4) ...
Marta Ribeiro authored on 3 Jun 2016 Brian Riley committed on 3 Jun 2016