History for dmpopidor / app / models / question.rb
2018-08-01
@Bodacious
Refactored model code for better readability
Bodacious committed on 1 Aug 2018
2018-07-25
@Bodacious
Add extra validations for all models ...
Bodacious committed on 25 Jul 2018
2018-07-12
@briley
fixed critical issue with creating template questions
briley committed on 12 Jul 2018
@Bodacious
Add annotate gem for models and Gemfile
Bodacious committed on 12 Jul 2018
@Gavin Morrice
Remove Rails 3 attr accessible from models (#1691)
Gavin Morrice authored on 12 Jul 2018 Sam Rust committed on 12 Jul 2018
2018-05-23
@briley
Template Versioning ...
briley committed on 23 May 2018
2018-04-06
@Brian Riley
added base_template_org and updated write plan to show correct org in guidance tab ...
Brian Riley committed on 6 Apr 2018
2018-04-05
@briley
patch to fix issue with default template visibility setting ...
briley committed on 5 Apr 2018
2017-11-16
@Jose Lloret
phases edit view and its sub-templates using local variables instead of instance variables. DMPRoadmap/roadmap#677 ...
Jose Lloret committed on 16 Nov 2017
2017-06-07
@Jimmy Angelakos
Merge pull request #404 from DigitalCurationCentre/issue337 ...
Jimmy Angelakos authored on 7 Jun 2017 GitHub committed on 7 Jun 2017
@Jose Lloret
Fixed problem when creating a question. Fixed JS to display/hide default answer. Fixed tinymce problem for example answer. DMPRoadmap/roadmap#337 ...
Jose Lloret committed on 7 Jun 2017
2017-06-06
@Jimmy Angelakos
Default ordering for Phase, Question becomes .number - closes #402
Jimmy Angelakos committed on 6 Jun 2017
2017-05-16
@xsrust
updated super admin to use annotations and model files accordingly
xsrust committed on 16 May 2017
@xsrust
merged development into annotations
xsrust committed on 16 May 2017
2017-05-12
@xsrust
fixed bug with annotation selection
xsrust committed on 12 May 2017
2017-05-11
@xsrust
began updating org-admin display of suggested_answers
xsrust committed on 11 May 2017
@xsrust
updated references of suggested_answer to annotations
xsrust committed on 11 May 2017
2017-04-26
@Brian Riley
moved some of the logic that was defaulting template attributes in the controller over to the model. Fixed tests DMPRoadmap/roadmap#251 DMPRoadmap/roadmap#273
Brian Riley committed on 26 Apr 2017
2017-04-25
@Brian Riley
moved most of the save logic from the template controller to the model. Updated the phases/section/question models to use the after_save callback to handle updating the template.dirty flag
Brian Riley committed on 25 Apr 2017
2017-04-18
@briley
added a test that searches for missing translations. Added specific error messages for model validations. Added some devise controlled error messages to pot/po files DMPRoadmap/roadmap#236
briley committed on 18 Apr 2017
2017-03-14
@ray.carrick
fix merge conflicts
ray.carrick committed on 14 Mar 2017
@ray.carrick
change from serialized hash tp just using includes
ray.carrick committed on 14 Mar 2017
2017-03-07
@Jose Lloret
I18n replaced from models. DMPRoadmap/roadmap#98
Jose Lloret committed on 7 Mar 2017
2017-03-03
@ray.carrick
minor fixes from code review
ray.carrick committed on 3 Mar 2017
2017-03-01
@ray.carrick
Optimistic Locking ...
ray.carrick committed on 1 Mar 2017
2017-02-09
@xsrust
re-wrote guidance_for_org fuction to hit the db less
xsrust committed on 9 Feb 2017
2017-02-08
@xsrust
fixed minor typo in deep_copy for question
xsrust committed on 8 Feb 2017
2017-02-03
@Brian Riley
updated generic deep copy test to check for uniqueness of excluded attributes (e.g. id, slug, dates, etc.). Fixed typo in Question.deep_copy. Added calls to deep_copy test for template, phase and section
Brian Riley committed on 3 Feb 2017
@Brian Riley
removed old references to the Amoeba gem which was used to clone models. Fixed typo in Question.deep_copy. Added generic test for deep_copy methods.
Brian Riley committed on 3 Feb 2017
@Brian Riley
removed old amoeba gem that was used for cloning active record models. We will use xsrust's new deep_copy methods now
Brian Riley committed on 3 Feb 2017