ontehfritz / Gather

A Ruby on Rails web based survey software to create and distribute surveys demo link below
2 stars 2 forks source link

Likert: When creating questions, Label says "Answer" #9

Closed ontehfritz closed 13 years ago

ontehfritz commented 13 years ago

correct

ontehfritz commented 13 years ago

when access the member type for example question.type, in rails 3.1 it is no longer a string. you must use to_s to compare question.type.to_s == "likert" to make the condition work