This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.
current_schema()
Returns the current schema name.
# File activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb, line 203 def current_schema query('SELECT current_schema', 'SCHEMA')[0][0] end