diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-12-10 21:40:20 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-12-10 21:40:20 +0900 |
commit | 3f7cd2c57151f9873f6e2a06dd020447fd7e360a (patch) | |
tree | 24c3ac5f77995a7fc682ec034804978c97e1421f /activerecord/lib | |
parent | 753da21322a2701f8b2294da1c26df8a783436d5 (diff) | |
download | rails-3f7cd2c57151f9873f6e2a06dd020447fd7e360a.tar.gz rails-3f7cd2c57151f9873f6e2a06dd020447fd7e360a.tar.bz2 rails-3f7cd2c57151f9873f6e2a06dd020447fd7e360a.zip |
Fix CI failure caused by #25227 and #25280 were merged at the same time
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/associations/singular_association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/singular_association.rb b/activerecord/lib/active_record/associations/singular_association.rb index 6d69f757eb..ee7b7c8bea 100644 --- a/activerecord/lib/active_record/associations/singular_association.rb +++ b/activerecord/lib/active_record/associations/singular_association.rb @@ -58,7 +58,7 @@ module ActiveRecord sc.execute(binds, klass, conn) do |record| set_inverse_instance record end.first - rescue RangeError + rescue ::RangeError nil end |