GitHub PushEvent at 2014-06-02 03:22:45
Repository: surveyor_gui
Actor: kjayma
Payload: {"shas":[["08f49538c16ccc97b439a6a6d1f4ee95f584037f","ed91721747778000baae2769c2806549ce914ba3@gmail.com","Added new partial for grid_dropdown\n\tmodified:   app/controllers/questions_controller.rb -  check question type\n\tto see if grid or grid_dropdown should be rendered.\n\n\tnew file:   app/views/questions/_grid_dropdown_fields.html.erb\n\n\tmodified:   lib/assets/javascripts/surveyor_gui/surveyor_gui.js - pass question_type\n\n\tmodified:   lib/surveyor_gui/models/question_type_methods.rb - change text of grid\n\tdropdown type.","Kevin Jay",false],["9c60b2c09825b7a630914d1f1d19a2c04cac2de7","ed91721747778000baae2769c2806549ce914ba3@gmail.com","Begin working on matrix of dropdowns.\n\tmodified:   app/views/questions/_grid_dropdown_fields.html.erb - new partial\n\tmodified:   lib/assets/javascripts/surveyor_gui/surveyor_gui.js - call to partial\n\tmodified:   lib/surveyor_gui/models/question_methods.rb - add grid_columns_count","Kevin Jay",false],["c9eea9c12b8a71eb86ec2859b49bf9f2471d851f","ed91721747778000baae2769c2806549ce914ba3@gmail.com","Grid Dropdowns working in question editor.\n\nStill need back end processing and changes to surveyform.\n\tmodified:   app/controllers/questions_controller.rb - modified\n\trender_grid_fields_partial to include an index parameter, creation\n\tof a question_group instance variable, and build out of column\n\trecords.\n\n\tnew file:   app/models/column.rb - new model to add a column dimension to\n\tgrids when needed.  A grid dropdown  answer should be referenced\n\tby both a question_id (row) and column_id.\n\n\tmodified:   app/models/permitted_params_decorator.rb - modified for columns.\n\n\tnew file:   app/models/row.rb - looks like only columns needed.  May remove\n\tthis model.\n\n\tnew file:   app/views/questions/_grid_dropdown_columns.html.erb - partial for\n\teach column within a grid dropdown.\n\n\tmodified:   app/views/questions/_grid_dropdown_fields.html.erb - modified to call\n\tgrid_dropdown_columns partial.\n\n\tmodified:   lib/assets/javascripts/surveyor_gui/surveyor_gui.js - when user changes the number\n\tof columns, call render_grid_fields_partial with a parameter for how many columns are needed.\n\n\tmodified:   lib/assets/stylesheets/surveyor_gui/surveyor_gui.sass\n\n\tmodified:   lib/generators/surveyor_gui/install_generator.rb - add column migration.\n\n\tnew file:   lib/generators/surveyor_gui/templates/db/migrate/20140531225529_create_rows.rb -\n\tmay delete this.\n\n\tnew file:   lib/generators/surveyor_gui/templates/db/migrate/20140601011151_create_columns.rb\n\tmigration for column table.\n\n\tnew file:   lib/surveyor_gui/models/column_methods.rb - new column model.\n\n\tmodified:   lib/surveyor_gui/models/question_group_methods.rb - has_many columns.\n\n\tmodified:   lib/surveyor_gui/models/question_methods.rb - dropdown_column_count methods\n\tcounts how many columns a question_group has.\n\n\tnew file:   lib/surveyor_gui/models/row_methods.rb - may delete.","Kevin Jay",false],["58fb6eb69a8c4d319597b436a738309f8e09c73d","ed91721747778000baae2769c2806549ce914ba3@gmail.com","Grid dropdown correctly populating database.\n\n\tmodified:   app/controllers/questions_controller.rb - determine if any new columns need to be built\n\tin render_grid_fields_partial.\n\n\tmodified:   app/models/permitted_params_decorator.rb - whitelist for columns.  Add columns attributes\n\tto question_group whitelist.\n\n\tmodified:   config/routes.rb - get rid of unnecessary route for grid_dropdown_columns partial.\n\n\tmodified:   lib/generators/surveyor_gui/install_generator.rb - add column_id to answers.  grid dropdowns\n\twill need to iterate on both question_id and column_id.\n\n\tnew file:   lib/generators/surveyor_gui/templates/db/migrate/20140602030330_add_column_id_to_answers.rb -\n\tadd column_id to answers.\n\n\tmodified:   lib/surveyor_gui/models/question_group_methods.rb - get rid of reject_ifs on accepts_nested_attributes.\n\n\tmodified:   lib/surveyor_gui/models/question_methods.rb - add writer for question_group_attributes.\n\n\tmodified:   lib/surveyor_gui/models/question_type_methods.rb - complete process_grid_columns_textbox and pass\n\tcolumn_id through the chain of builder methods it calls.","Kevin Jay",false]],"size":4,"ref":"refs/heads/show_groups_in_surveyform","head":"58fb6eb69a8c4d319597b436a738309f8e09c73d"}