History for dmpopidor / app / models / section.rb
2018-07-19
@Bodacious
Refactor number update query for MySQL and SQLite
Bodacious authored on 13 Jul 2018 briley committed on 19 Jul 2018
@Bodacious
Add annotate gem for models and Gemfile
Bodacious authored on 12 Jul 2018 briley committed on 19 Jul 2018
@Bodacious
Make sections within a phase sortable
Bodacious authored on 12 Jul 2018 briley committed on 19 Jul 2018
@Gavin Morrice
Remove Rails 3 attr accessible from models (#1691)
Gavin Morrice authored on 12 Jul 2018 briley committed on 19 Jul 2018
2018-05-23
@briley
Template Versioning ...
briley committed on 23 May 2018
2018-02-13
@Jose Lloret
migration to add complete flag to plans. #154 ...
Jose Lloret committed on 13 Feb 2018
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-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
change from serialized hash tp just using includes
ray.carrick committed on 14 Mar 2017
2017-02-07
@xsrust
fixed bug where sections not editable, questions not saveable
xsrust committed on 7 Feb 2017
2017-02-03
@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-02
@briley
added check to role that sets access by default. added unit tests for section
briley committed on 2 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-30
@briley
resolved merge conflicts
briley committed on 30 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
added some more attr_accessible attributes for new fields. finished up seed.rb file.
briley committed on 26 Jan 2017
@briley
resolved merge conflicts
briley committed on 26 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
@xsrust
sections belong to phases, not versions
xsrust committed on 24 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-12
@xsrust
updated models for role, section, and suggested answer
xsrust committed on 12 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