关于,我尝试覆盖ActiveRecord::ConnectionAdapters::PostgreSQLAdapter中定义的返回PostgreSQL版本的postgresql_version方法: module ConnectionAdapters # Returns the version of the connected PostgreSQL server.
def postgres
/connection_adapters/postgresql_adapter'./connection_adapters/postgresql_adapter.rb:17:in `<top (required)>'
from /var/task/lib/vendor/ruby/2.1.0/connection_adapters/connection_specificati