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

Fix outdated comment for Core::ClassMethods#=== [ci skip] #30146

Merged
merged 1 commit into from Aug 12, 2017

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented Aug 9, 2017

This comment was added at 97849de, but AssociationProxy and
test_triple_equality was removed at 1644663. Currently the === is
used for test_decorated_polymorphic_where that added at #11945.
So I updated "association proxies" to "decorated models".

By the way, currently ActiveRecord::Core::ClassMethods appears in the doc.

http://api.rubyonrails.org/classes/ActiveRecord/Core/ClassMethods.html

But it looks like that the methods in the module is not public API.
So what do you think about making nodoc the module?

@rafaelfranca
Copy link
Member

👍 to add nodoc. Could you update the PR?

This comment was added at 97849de, but `AssociationProxy` and
`test_triple_equality` was removed at 1644663. Currently the `===` is
used for `test_decorated_polymorphic_where` that added at rails#11945.
So I updated "association proxies" to "decorated models".

And also, currently `Core::ClassMethods` appears in the doc.

http://api.rubyonrails.org/classes/ActiveRecord/Core/ClassMethods.html

But it looks like that the methods in the module is not public API.
So I also added `# :nodoc:` to the module.
@kamipo
Copy link
Member Author

kamipo commented Aug 11, 2017

I added :nodoc: to the module!

@kamipo
Copy link
Member Author

kamipo commented Aug 12, 2017

I'm going to merge this because it is only the doc change.

@kamipo kamipo merged commit 98360a9 into rails:master Aug 12, 2017
@kamipo kamipo deleted the fix_outdated_comment branch August 12, 2017 09:53
@rafaelfranca
Copy link
Member

👍

@eugeneius eugeneius mentioned this pull request Sep 10, 2018
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.

None yet

2 participants