aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json/encoding.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-11-02 13:53:54 -0700
committerSean Griffin <sean@thoughtbot.com>2014-11-02 13:54:16 -0700
commit76d6d8828007083faa6ccca3ad0feb7ba126ef79 (patch)
tree586bd5e3bc69feb4808b8c8327cf0cfba763fee0 /activesupport/lib/active_support/json/encoding.rb
parentd5902c9e7eaba4db4e79c464d623a7d7e6e2d0e3 (diff)
downloadrails-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 'activesupport/lib/active_support/json/encoding.rb')
0 files changed, 0 insertions, 0 deletions