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

Improve ActiveRecord::QueryMethods.readonly doc [skip ci] #45654

Merged
merged 1 commit into from Oct 8, 2022

Conversation

shouichi
Copy link
Contributor

Sets readonly attributes for the returned relation.

The current documentation gives the impression that it can manipulate
attr_readonly.

@shouichi shouichi changed the title Improve ActiveRecord::QueryMethods.readonly doc Improve ActiveRecord::QueryMethods.readonly doc [skip ci] Oct 7, 2022
> Sets readonly attributes for the returned relation.

The current documentation gives the impression that it can manipulate
`attr_readonly`.

Co-authored-by: Petrik de Heus <petrik@deheus.net>
@shouichi
Copy link
Contributor Author

shouichi commented Oct 7, 2022

@p8 Committed your suggested changes and squashed commits. Could you take a look again? (Sorry for the late reply. I missed your reply.)

@p8 p8 merged commit 3258979 into rails:main Oct 8, 2022
@p8
Copy link
Member

p8 commented Oct 8, 2022

Thanks @shouichi 🎉

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