Skip to content

Remove Faker use in UserMailerPreview#11791

Merged
zachmargolis merged 1 commit intomainfrom
margolis-remove-mailer-faker-preview
Jan 23, 2025
Merged

Remove Faker use in UserMailerPreview#11791
zachmargolis merged 1 commit intomainfrom
margolis-remove-mailer-faker-preview

Conversation

@zachmargolis
Copy link
Contributor

Alternative to #11786

  • Mailer previews occasionally load in production environments (sandbox) but in Move Faker gem from all environments to test #11757, we moved the Faker gem to the test group (which breaks these previews in sandbox)
  • Removing the usage of Faker in the previews helps keep the previews working, and keeps the production dependencies smaller

- Mailer previews occasionally load in production environments (sandbox)
  but in #11757, we moved the Faker gem to the test group (which breaks
  these previews in sandbox)
- Removing the usage of Faker in the previews helps keep the previews
  working, and keeps the production dependencies smaller

changelog: Internal, Source code, Remove gem dependency from mailer previews
Copy link
Contributor

@eileen-nava eileen-nava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This approach works. Approved.

@zachmargolis zachmargolis merged commit e899917 into main Jan 23, 2025
@zachmargolis zachmargolis deleted the margolis-remove-mailer-faker-preview branch January 23, 2025 17:42
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.

3 participants