Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 4, 2026

What is the goal of this PR and why is this important?

Renames the Facilitator model to Person throughout the application, including database tables, foreign keys, and all code references.

How did you approach the change?

Database

  • Migration: facilitatorspeople
  • Migration: spotlighted_facilitator_idspotlighted_person_id

Code (89 files)

  • Model class: FacilitatorPerson
  • Controller: FacilitatorsControllerPeopleController
  • Routes: resources :facilitatorsresources :people
  • Views: app/views/facilitators/app/views/people/
  • Path helpers: facilitator_pathperson_path, etc.
  • Associations: belongs_to :facilitatorbelongs_to :person
  • Service: FacilitatorFromUserServicePersonFromUserService
  • All specs, factories, helpers, decorators, mailers updated

Preserved

  • Historical migrations (database schema history)
  • Role-descriptor text ("Windows Facilitators", "art workshop facilitators")
  • Enum values (recipient_role: "facilitator")

Anything else to add?

Navigation menu labels changed from "Facilitators" → "People". Badge text for job tenure kept as "Legacy/Seasoned/New Facilitator" since these describe roles, not the model.

CodeQL: 0 alerts.

Original prompt

Rename Facilitator to Person, including renaming facilitators table to people


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 6 commits February 4, 2026 02:53
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
…tator

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
…rson

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
…cilitator

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
…itators

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Copilot AI changed the title [WIP] Rename Facilitator to Person and update table name Rename Facilitator model to Person Feb 4, 2026
Copilot AI requested a review from maebeale February 4, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants