Skip to content

Gracefully Handle Date Format Removal #35

@ahcarpenter

Description

@ahcarpenter

Hey, @adzap, thanks a ton for this gem.

Ran across a case where my team had added a gem that had an initializer calling remove_formats with the same args as the app the gem had been bundled with.

This led to us not being able to boot up rails as currently, the gem raises a hard exception if it's not able to delete a date format.

What do you think about us keeping delete's default behavior (returning nil) to avoid this?

Would be happy to update the gem if you were in favor as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions