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

Don't show deprecation warning for equal paths #43186

Conversation

aried3r
Copy link
Contributor

@aried3r aried3r commented Sep 8, 2021

Summary

Before, if a user set file_fixture_path to the same path as fixture_path, this would have resulted in a deprecation warning such as:

"Please modify the call from fixture_file_upload('rails.jpg') to `fixture_file_upload('rails.jpg')"

If this PR should indeed be a fix and not a mistake, I'd assume it should also be backported?

Before, if a user set `file_fixture_path` to the same path as
`fixture_path`, this would have resulted in a deprecation warning such
as:

"Please modify the call from `fixture_file_upload('rails.jpg')` to
`fixture_file_upload('rails.jpg')"
@rails-bot rails-bot bot added the actionpack label Sep 8, 2021
@guilleiguaran guilleiguaran merged commit c0e17d4 into rails:main Sep 12, 2021
aried3r added a commit to aried3r/rails that referenced this pull request Oct 1, 2021
kamipo added a commit that referenced this pull request Oct 1, 2021
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.

None yet

2 participants