Question: Ruby on rails ****There should be a field in the Task that allows it to be marked as completed this is what the professor wants

Ruby on rails

****There should be a field in the Task that allows it to be marked as completed this is what the professor wants

How can i create a checkbox for status. The status should read yes or no for completion. I already created a status checkbox but when i click on it it saves is as 1. How can I change so that it saves the word completted

<%= form.label :status %> <%= form.check_box :status %>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!