History for dmpopidor / app / models / section.rb
2018-08-08
@Bodacious
Fix bug caused by blank section number
Bodacious committed on 8 Aug 2018
2018-08-03
@Bodacious
Remove published column from sections table ...
Bodacious committed on 3 Aug 2018
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-13
@Brian Riley
Merge pull request #1715 from DMPRoadmap/issue-1371 ...
Brian Riley authored on 13 Jul 2018 GitHub committed on 13 Jul 2018
@Bodacious
Refactor number update query for MySQL and SQLite
Bodacious committed on 13 Jul 2018
2018-07-12
@Bodacious
Add annotate gem for models and Gemfile
Bodacious committed on 12 Jul 2018
@Bodacious
Make sections within a phase sortable
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-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