Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Rails 6.1 deprecation warnings #231

Open
wants to merge 2 commits into
base: upgrade-to-rails-6.1
Choose a base branch
from

Conversation

patbl
Copy link
Collaborator

@patbl patbl commented Sep 5, 2022

These commits aren't necessary to upgrade to Rails 6.1, so they can be merged independly of the upgrade. This would make a rollback slightly less messy, and it reduces the risk of incidental breakage.

This sort of deprecation warning was being printed:

    DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message
    array in order to add an error is deprecated. Please call
    `ActiveModel::Errors#add` instead. (called from fact_has_stats at
    /Users/pat/projects/guesstimate-server/app/models/fact.rb:70)
This prevents the following deprecation warning:

    Sending mail with DeliveryJob and Parameterized::DeliveryJob is
    deprecated and will be removed in Rails 6.2. Please use
    MailDeliveryJob instead.
@quinn-dougherty quinn-dougherty temporarily deployed to guesstimate-fix-rails-6-s7k7ql September 5, 2022 00:24 Inactive
@patbl patbl mentioned this pull request Sep 5, 2022
6 tasks
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.

2 participants