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 5 - Deprecated behavior - Passing an arg to force association to reload is deprecated. Call reload instead on message_spec.rb #365

Conversation

yuenmichelle1
Copy link
Collaborator

Rails 5 - Deprecated behavior - Passing an arg to force association to reload is deprecated. Call reload instead on message_spec.rb

See deprecation warning:
DEPRECATION WARNING: Passing an argument to force an association to reload is now deprecated and will be removed in Rails 5.1. Please callreloadon the result collection proxy instead. (called from block (5 levels) in <top (required)> at /home/runner/work/talk-api/talk-api/spec/models/message_spec.rb:68)

…s deprecated. Call reload instead on message_spec.rb

See deprecation warning:
DEPRECATION WARNING: Passing an argument to force an association to reload is now deprecated and will be removed in Rails 5.1. Please call `reload` on the result collection proxy instead. (called from block (5 levels) in <top (required)> at /home/runner/work/talk-api/talk-api/spec/models/message_spec.rb:68)
…ument-to-force-association-reload-behavior-removed
@yuenmichelle1 yuenmichelle1 marked this pull request as ready for review August 22, 2024 18:46
@yuenmichelle1 yuenmichelle1 requested a review from Tooyosi August 22, 2024 18:46
@yuenmichelle1 yuenmichelle1 merged commit e70dce1 into master Aug 26, 2024
1 of 2 checks passed
@yuenmichelle1 yuenmichelle1 deleted the rails-5----deprecated-behavior-passing-argument-to-force-association-reload-behavior-removed branch September 23, 2024 16:45
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.

1 participant