1/17/2013 - 8:19 PM

AMIA | IA MVP 1.05 Change assessment -> assessment_question relationship to many-to-many

AMIA | IA MVP 1.05 Change assessment -> assessment_question relationship to many-to-many

  • WHO: Scitent Admin
  • WHAT: Management and CRUD(Assessments, Assessment Questions, Assessment Question Responses)
  • WHERE: Scidea, Amia
Started GET "/admin" for at 2013-01-17 11:56:56 -0800
Processing by Admin::DashboardsController#display as HTML
  Rendered admin/dashboards/display.html.erb within admin/layouts/application (3.1ms)
Completed 500 Internal Server Error in 65ms

ActionView::Template::Error ((eval):41: syntax error, unexpected tSYMBEG, expecting '}'
      :assessment_questions => Proc....
(eval):41: syntax error, unexpected ',', expecting keyword_end
(eval):43: syntax error, unexpected '}', expecting keyword_end):
    88:         </div>
    90:         <nav id="primary-nav" role="navigation">
    91:         <%= render_navigation :context => :admin_primary, :expand_all => true %>
    92:         </nav>
    94:         <%= link_to 'Preview Site', root_path, :id => 'preview-site-link', :target => 'blank' %>
  app/views/admin/layouts/application.html.erb:91:in `_app_views_admin_layouts_application_html_erb___1545127549731499767_73047700'

Multiple assessments should be able to contain the same question in the Amia requirements. Previously, our design had a single assessment containing a question. This task adjusts the internals and the UI to support that relationship.

		- assessments and assessment question bank should both be available on the Exercises menu
		- can create an assessment and add/remove questions on it
		- can create assessment question with responses.

	- Later the roles for access will change. (assessments via exercises menu)
	- Managing responses is a little awkward currently. There is a task to improve that.
	- details of when assessments and assessment_questions can be removed or transitioned between active and inactive are still not completely defined. 
		(there are some places in the existing interface where that is going to be confusing)


	Verify management and CRUD
		for assessments
		for assessment questions
		for responses

	confirm that all the search options work as expected