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

[ci skip] Added documentation for has_many scope parameter #16575

Merged
merged 1 commit into from Aug 20, 2014
Merged

[ci skip] Added documentation for has_many scope parameter #16575

merged 1 commit into from Aug 20, 2014

Conversation

tomkadwill
Copy link
Contributor

The same as 5855717 but for has_many.

# === Scopes
#
# You can pass a second argument +scope+ as a callable (i.e. proc or
# lambda) to retrieve a specific record or customize the generated query
Copy link
Member

Choose a reason for hiding this comment

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

Well, here, since we speak about has_many associations, we won't fetch a specific record, but "a specific set of records", what do you think ?

@tomkadwill
Copy link
Contributor Author

Thanks @robin850, I've made some changes :)

zzak pushed a commit that referenced this pull request Aug 20, 2014
…ntation

[ci skip] Added documentation for has_many scope parameter
@zzak zzak merged commit 6ef0dd9 into rails:master Aug 20, 2014
@tomkadwill tomkadwill deleted the added_has_many_scope_documentation branch August 26, 2014 21:25
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

3 participants