rubyforgood / rubyforgood/awbw
Convert quotable item quote data into just quotes belonging directly to quotable items
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 15
- Forks
- 26
- Avg merge
- 12h 42m
- Merged PRs (30d)
- 242
Description
there are only a handful of quotable_item_quotes in prod that share the same quote.
we'd rather have duplicate quote data than maintain this quotable_item_quotes table.
this ticket requires some architectural changes as well as a rollbackable data migration to populate assns on quote vs quotable_item_quotes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the quote and quotable_item models and the quotable_item_quotes table, then identify the existing association and migration entry points. Review how quote data is currently linked and how migrations are rolled back. Done means the direct associations are populated by a rollbackable data migration and the intermediary table is no longer needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend, databases
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100