You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a somewhat new rails programmer and just found your gem. Since the gem surveyor does not work for me and is way too old, I decided to play around with it.
While playing around with checkboxes, I ran into this problem.
Answer text is invalid (when the no checkbox in a yes/no question is checked and saved)
I narrowed it down to answer_text: "{"0"=>"0", "1"=>"no"}" and the issue being answers_delimiter not breaking up the submission correctly. When I changed "\r\n" to """ in the checkbox.rb model inside validate_answer it still doesn't work.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs for another 14 days. Thank you for your contributions.
Hello!
I am a somewhat new rails programmer and just found your gem. Since the gem surveyor does not work for me and is way too old, I decided to play around with it.
While playing around with checkboxes, I ran into this problem.
Answer text is invalid (when the no checkbox in a yes/no question is checked and saved)
I narrowed it down to answer_text: "{"0"=>"0", "1"=>"no"}" and the issue being answers_delimiter not breaking up the submission correctly. When I changed "\r\n" to """ in the checkbox.rb model inside validate_answer it still doesn't work.
Is there a way to fix this?
The text was updated successfully, but these errors were encountered: