Reminder To Donate - FreeUKGen/MyopicVicar GitHub Wiki

Reminder To Donate

Part of Communication-and-Engagement.

Model: app/models/reminder_to_donate.rb ยท Controller: app/controllers/reminder_to_donate_controller.rb

The simplest resource in this domain: a lead-capture form (name + email) for a "remind me to donate later" prompt. Completely unrelated to the Contact/Feedback/Message cluster โ€” no routing, no reply, no coordinator involvement.

Fields

name, email only, validated by a custom reminder_form validator plus a Devise::email_regexp format check.

Worth knowing

index assigns results to @feedbacks instead of @reminder_to_donates โ€” a copy-paste leftover from a Feedback-based controller. Harmless as long as the view (app/views/reminder_to_donate/index.html.erb) also uses @feedbacks, but a footgun for anyone renaming things.

Routes

resources :reminder_to_donate โ€” plain CRUD only.