Skip to content

Remove mail bounced implementation#6775

Merged
jmhooper merged 11 commits intomainfrom
jmhooper-remove-mail-bounced-tooling
Aug 19, 2022
Merged

Remove mail bounced implementation#6775
jmhooper merged 11 commits intomainfrom
jmhooper-remove-mail-bounced-tooling

Conversation

@jmhooper
Copy link
Contributor

Why: This code was implemented but never used in production. Drift has made it such that it no longer works.

**Why**: This code was implemented but never used in production. Drift has made it such that it no longer works.
@jmhooper
Copy link
Contributor Author

There's a good bit of stuff to pull out here so this is still very much WIP

@jmhooper
Copy link
Contributor Author

Okay, I think I got everything. This should be ready for review

class GpoConfirmationCode < ApplicationRecord
self.table_name = 'usps_confirmation_codes'

self.ignored_columns = %(bounced_at)
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a single string, I think we want an array of strings

Suggested change
self.ignored_columns = %(bounced_at)
self.ignored_columns = %w(bounced_at)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why do i even use % literals? I have no idea how they work

Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

Looks great! Glad we could remove this added complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants