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

Remove duplicate error message "Couldn't find..." #17251

Merged
merged 1 commit into from
Oct 13, 2014

Conversation

claudiob
Copy link
Member

This commit removes the duplication of the error message:

Couldn't find #{@klass.name} with [#{arel.where_sql}]

introduced in #15791 by adding a private method find_nth! that
deals with all the method like first! and second!.

This commit removes the duplication of the error message:

> Couldn't find #{@klass.name} with [#{arel.where_sql}]

introduced in rails#15791 by adding a private method `find_nth!` that
deals with all the method like `first!` and `second!`.
rafaelfranca added a commit that referenced this pull request Oct 13, 2014
Remove duplicate error message "Couldn't find..."
@rafaelfranca rafaelfranca merged commit c950475 into rails:master Oct 13, 2014
@claudiob claudiob deleted the remove-duplicate-exception branch October 13, 2014 23:58
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