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

document update_counters on relation [ci skip] #36073

Merged
merged 1 commit into from May 12, 2019

Conversation

itsWill
Copy link
Contributor

@itsWill itsWill commented Apr 23, 2019

Summary

This is related to: #36055 where someone would have benefitted from this method.

Since this commit by @kamipo the update_counters is defined on the ActiveRecord::Relation: 975fa15

It seems that this is a useful feature outside of the internals as well, so having it documented in our public api seems like a good idea to me.

Other Information

Does the new update_counters on the relation have to be added to the CHANGELOG?

Copy link
Member

@gmcgibbon gmcgibbon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you squash your commits?

@itsWill itsWill force-pushed the document_update_counters_on_relation branch from 29daa6d to 19eb85d Compare May 11, 2019 18:13
@itsWill
Copy link
Contributor Author

itsWill commented May 11, 2019

@gmcgibbon done!

@kamipo kamipo merged commit b1c917e into rails:master May 12, 2019
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

3 participants