I am very novice at Ruby and Ruby on Rails. I am trying to update a web application that has signed up volunteers that require approval before they can access full website functionality. I added a boolean field to the volunteers database model called :approved that defaults to false when a volunteer signs up, and […]
- Tags and requires a logged in administrator to update it to true. I created an administrator class in my project that can view a list of pending v, but am unclear on the code that should be there because I am unsure the checkbox approach. Thanks in advance for your patience with a newbie, checked_value = "1", I am very novice at Ruby and Ruby on Rails. I am trying to update a web application that has signed up volunteers that require approval befor, local: true) do |f| %> Volunteer: Age: &, OPTIONS, or do I need to create a join table for :approved? I can't have volunteers belong_to :administrators because they would not be able to sign u, they need to be created by administrators. I am not sure exactly how to configure the code for checkbox helpers in my administrator view. I, true) for each checked volunteer? I have created an update_pending_volunteers method in the administrator controller for the POST operation, unchecked_value = "0")%> I am not exactly su, v.approved, which when submitted will allow the administrator to update the :approved field in the volunteer table. I have several issues that are not c