application model: drop unused test_connection method.

This commit is contained in:
evazion
2020-02-16 05:06:39 -06:00
parent 1370b034d1
commit d01c6b773c

View File

@@ -418,13 +418,6 @@ class ApplicationRecord < ActiveRecord::Base
def columns(*params)
super.reject {|x| x.sql_type == "tsvector"}
end
def test_connection
limit(1).select(:id)
return true
rescue PG::Error
return false
end
end
end