diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-11-02 13:53:54 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-11-02 13:54:16 -0700 |
commit | 76d6d8828007083faa6ccca3ad0feb7ba126ef79 (patch) | |
tree | 586bd5e3bc69feb4808b8c8327cf0cfba763fee0 /activemodel | |
parent | d5902c9e7eaba4db4e79c464d623a7d7e6e2d0e3 (diff) | |
download | rails-76d6d8828007083faa6ccca3ad0feb7ba126ef79.tar.gz rails-76d6d8828007083faa6ccca3ad0feb7ba126ef79.tar.bz2 rails-76d6d8828007083faa6ccca3ad0feb7ba126ef79.zip |
Handle `RangeError` from casting in `find_by` and `find_by!` on Relation
We should not behave differently just because a class has a default
scope.
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions