aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2019-03-13 10:31:54 +0000
committerYasuo Honda <yasuo.honda@gmail.com>2019-03-13 10:31:54 +0000
commit7de57cfe33ec8717a51997cf85bd1702da322dab (patch)
treed1bf3a341120ed51461bf562904a622cf55b460e /activerecord/lib/active_record/relation.rb
parent5ab0c1a8ccbaff92cf239aecb78c1537fd6ce1be (diff)
downloadrails-7de57cfe33ec8717a51997cf85bd1702da322dab.tar.gz
rails-7de57cfe33ec8717a51997cf85bd1702da322dab.tar.bz2
rails-7de57cfe33ec8717a51997cf85bd1702da322dab.zip
[skip ci] Rails 5.1+ supports bigint primary key
Follow up #35573
Diffstat (limited to 'activerecord/lib/active_record/relation.rb')
-rw-r--r--activerecord/lib/active_record/relation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb
index ab50972e06..ac37f73b76 100644
--- a/activerecord/lib/active_record/relation.rb
+++ b/activerecord/lib/active_record/relation.rb
@@ -199,7 +199,7 @@ module ActiveRecord
# * It relies on exception handling to handle control flow, which may be marginally slower.
# * The primary key may auto-increment on each create, even if it fails. This can accelerate
# the problem of running out of integers, if the underlying table is still stuck on a primary
- # key of type int (note: All Rails apps since 5.0+ have defaulted to bigint, which is not liable
+ # key of type int (note: All Rails apps since 5.1+ have defaulted to bigint, which is not liable
# to this problem).
#
# This method will return a record if all given attributes are covered by unique constraints