Skip to content
Vino-S edited this page Aug 6, 2026 · 1 revision

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.

Clone this wiki locally