aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-03-23 17:04:21 +0530
committerGitHub <noreply@github.com>2017-03-23 17:04:21 +0530
commit2a504ebf31640e6f9dda77b84367c87f5729ad8e (patch)
tree5265f55a9ae16c6e6ad635d4d10dc5f4897f5246
parenteb85100426dd49c355bb712759859537c6de9ead (diff)
parent69717023268ad2f48f823730d2d5db0b552302b0 (diff)
downloadrails-2a504ebf31640e6f9dda77b84367c87f5729ad8e.tar.gz
rails-2a504ebf31640e6f9dda77b84367c87f5729ad8e.tar.bz2
rails-2a504ebf31640e6f9dda77b84367c87f5729ad8e.zip
Merge pull request #28543 from mtsmfm/move-comment-to-inside-the-method
Move comment to inside the method [ci skip]
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb2
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