Skip to content

Donate Cta Feedback

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

Donate CTA Feedback

Part of Communication-and-Engagement.

Model: app/models/donate_cta_feedback.rb · Controller: app/controllers/donate_cta_feedback_controller.rb

Feedback captured from a donate call-to-action prompt. Public, write-once: create emails an acknowledgement to the submitter and a separate notification to admins, then redirects to search. No archive, no keep, no reply thread, no GitHub sync — it's the simplest resource in this domain.

Fields

body, name, email_address, identifier (same seconds-since-2015 scheme as Contact/Feedback).

Worth knowing

The controller's strong params are still keyed params.require(:feedback) even though the resource is DonateCtaFeedback — the form field namespace is feedback[...], not donate_cta_feedback[...]. index is an unfiltered, unpaginated DonateCtaFeedback.all.

Routes

resources :donate_cta_feedback — plain CRUD, no custom routes.

Clone this wiki locally