diff options
author | claudiob <claudiob@gmail.com> | 2014-10-13 16:39:07 -0700 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2014-10-13 16:39:07 -0700 |
commit | 90a0471af15808c12e32b9927cf7e37ccfaa0558 (patch) | |
tree | bef1982297d28580a73b666e28cf71e9cf7c49c0 /railties/test/generators/generator_test.rb | |
parent | e3207bdbba55f3806441f22b175557579bc0b051 (diff) | |
download | rails-90a0471af15808c12e32b9927cf7e37ccfaa0558.tar.gz rails-90a0471af15808c12e32b9927cf7e37ccfaa0558.tar.bz2 rails-90a0471af15808c12e32b9927cf7e37ccfaa0558.zip |
Remove duplicate error message "Couldn't find..."
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!`.
Diffstat (limited to 'railties/test/generators/generator_test.rb')
0 files changed, 0 insertions, 0 deletions