instance method
supports_ranges?
Ruby on Rails 4.0.13
Since v4.0.13 Last seen in v6.0.6Signature
supports_ranges?()
Range datatypes weren’t introduced until PostgreSQL 9.2
Source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 651
def supports_ranges?
postgresql_version >= 90200
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb line 651
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter