Skip to content

Remove duplicate 'Recalled to Life' book title#3238

Open
gkrimer wants to merge 1 commit intofaker-ruby:mainfrom
gkrimer:fix/remove-duplicate-recalled-to-life
Open

Remove duplicate 'Recalled to Life' book title#3238
gkrimer wants to merge 1 commit intofaker-ruby:mainfrom
gkrimer:fix/remove-duplicate-recalled-to-life

Conversation

@gkrimer
Copy link
Copy Markdown

@gkrimer gkrimer commented Apr 14, 2026

Motivation / Background

Faker::Book.title can return "Recalled to Life" with twice the expected probability because it appears twice in the title list (lines 141–142 of lib/locales/en/book.yml).

The duplicate has been present since #484 (Dec 2015), when the book title list was bulk-replaced with titles sourced from Wikipedia. Both Reginald Hill's novel and Book 1 of Dickens' A Tale of Two Cities share the name, so the source list had two entries that were pasted without deduplication.

This PR removes one of the two identical entries.

Checklist

  • One change per PR
  • Detailed commit message
  • No CHANGELOG.md changes

The title has appeared twice in the book title list since faker-ruby#484 (Dec 2015),
when the list was bulk-replaced with titles sourced from Wikipedia.
Both Reginald Hill's novel and Dickens' A Tale of Two Cities Book 1
share the name, so the source list had two entries that were pasted
without deduplication.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant