Skip to content
yoon edited this page Feb 1, 2013 · 27 revisions

Getting started

Surveyor - A Rails gem plugin for creating surveys from breakpointer on Vimeo.

Participate

The surveyor developers google group is a good place to search for your issue and discuss possible bugs. Confirmed bugs should be submitted to the github issue tracker. For build status see our surveyor's continuous integration page.

The data model

Common attributes

  • reference_identifier: usually derived from paper numbering, reference_identifier can be assigned in the DSL e.g. question_1 or a_yes. The reference identifier is also used for dependencies and validations, and must be unique for questions within the scope of a section, and unique for answers within the scope of a question.
  • data_export_identifier: intended for data export
  • common_namespace: intended for mapping to a common vocabulary
  • common_identifier: intended for mapping to a common vocabulary
  • display_order: for sorting
  • custom_class: css class for this answer (for custom styling). not supported by nu_surveyor
  • custom_renderer: path to a custom view use to render the answer (e.g. /partials/custom_answer) not supported by nu_surveyor

h2. Other wiki pages

Clone this wiki locally