History for dmpopidor / app / models / question.rb
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
@xsrust
init commit of deep_copy for templates [untested]
xsrust committed on 3 Feb 2017
2017-02-01
@briley
added unit tests for question. removed unused methods from question. fixed guidance_for_question method so that it does not require us to pass in itself (was qustion.guidance_by_question(question, org) - now question.guidance_for_org(org)) and updated template that calls method accordingly
briley committed on 1 Feb 2017
2017-01-31
@briley
initial uni tests for question
briley committed on 31 Jan 2017
@DigitalCurationCentre
Merge branch 'final_schema' into final_schema
DigitalCurationCentre authored on 31 Jan 2017 GitHub committed on 31 Jan 2017
@xsrust
bugfixed display logic for editing phase, modifiability of questions, mass-assignment of questions
xsrust committed on 31 Jan 2017
@xsrust
updated admin_previewphase action in templates controller
xsrust committed on 31 Jan 2017
2017-01-27
@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-25
@xsrust
updated additional parts of the admin_phase view to use the new schema's data access. Additionally changed models for suggested_answer, user, guidance_group and question to better reflect the associations in the schema
xsrust committed on 25 Jan 2017
2017-01-24
@briley
updated attr_accessible lines to allow mass assignment of associations via object instead of id
briley committed on 24 Jan 2017
2016-12-12
@xsrust
made necissary changes to allow the app to display the splash/login screen
xsrust committed on 12 Dec 2016