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

Rails 6.0 #963

Merged
merged 4 commits into from
Jan 11, 2021
Merged

Rails 6.0 #963

merged 4 commits into from
Jan 11, 2021

Conversation

NickLaMuro
Copy link
Member

Fixes the following deprecation warning in Rails 6:

  DEPRECATION WARNING: ActionDispatch::Http::ParameterFilter is deprecated and will be removed from Rails 6.1. Use ActiveSupport::ParameterFilter instead.
  (called from log_api_request at manageiq-api/app/controllers/api/base_controller/logger.rb:32)
.parent is deprecated in Rails 6, so use it's replacement .module_parent

   rails/rails@004fda3
A change seemed to happen regarding the result of the
"Content-Disposition" header generation when upgrading to Rails 6.0.

TODO: Will need to determine if this is fine being changed and where the
change originated from.
Fixes the following deprecation warning:

  DEPRECATION WARNING: update_attributes is deprecated and will be removed from Rails 6.1 (please, use update instead)
  (called from block (3 levels) in <top (required)> at manageiq-api/spec/requests/vms_spec.rb:309)
@miq-bot
Copy link
Member

miq-bot commented Dec 8, 2020

Checked commits NickLaMuro/manageiq-api@90649d7~...5b0c540 with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint
4 files checked, 0 offenses detected
Everything looks fine. 🏆

@NickLaMuro NickLaMuro changed the title [WIP] Rails 6.0 \Rails 6.0 Dec 11, 2020
@NickLaMuro NickLaMuro changed the title \Rails 6.0 Rails 6.0 Dec 11, 2020
@miq-bot miq-bot removed the wip label Dec 11, 2020
@Fryguy Fryguy merged commit 5683d9e into ManageIQ:master Jan 11, 2021
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