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 inconsistent the signature of finder methods for collection association #26009

Merged

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented Jul 31, 2016

#second, #third, etc finder methods was added in 03855e7.
But the signature of these methods is inconsistent with the original
finder methods. And also the signature of #first and #last methods
is different from the original. This commit fixes the inconsistency.

@rails-bot
Copy link

r? @sgrif

(@rails-bot has picked a reviewer for you, use r? to override)

@kamipo kamipo force-pushed the fix_inconsistent_finder_methods_signature branch 5 times, most recently from 50594d1 to ad5bddc Compare August 6, 2016 07:08
…iation

`#second`, `#third`, etc finder methods was added in 03855e7.
But the signature of these methods is inconsistent with the original
finder methods. And also the signature of `#first` and `#last` methods
is different from the original. This commit fixes the inconsistency.
@kamipo kamipo force-pushed the fix_inconsistent_finder_methods_signature branch from ad5bddc to 4638067 Compare August 16, 2016 13:47
@rafaelfranca rafaelfranca merged commit 1c9c315 into rails:master Aug 17, 2016
@kamipo kamipo deleted the fix_inconsistent_finder_methods_signature branch August 17, 2016 03:15
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

5 participants