diff options
author | Fumiaki MATSUSHIMA <mtsmfm@gmail.com> | 2017-03-23 20:27:02 +0900 |
---|---|---|
committer | Fumiaki MATSUSHIMA <mtsmfm@gmail.com> | 2017-03-23 20:29:30 +0900 |
commit | 69717023268ad2f48f823730d2d5db0b552302b0 (patch) | |
tree | 5265f55a9ae16c6e6ad635d4d10dc5f4897f5246 /activerecord/lib/active_record/connection_adapters | |
parent | eb85100426dd49c355bb712759859537c6de9ead (diff) | |
download | rails-69717023268ad2f48f823730d2d5db0b552302b0.tar.gz rails-69717023268ad2f48f823730d2d5db0b552302b0.tar.bz2 rails-69717023268ad2f48f823730d2d5db0b552302b0.zip |
Move comment to inside the method [ci skip]
Because this comment is not document for `supports_ranges?`
ref: https://github.com/rails/rails/pull/27636#discussion_r107560081
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index f9023c0e0f..73cf3ac862 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -301,8 +301,8 @@ module ActiveRecord true end - # Range datatypes weren't introduced until PostgreSQL 9.2 def supports_ranges? + # Range datatypes weren't introduced until PostgreSQL 9.2 postgresql_version >= 90200 end |