instance method
schema_search_path
Ruby on Rails 3.2.22.5
Since v2.2.3 Last seen in v3.2.22.5Signature
schema_search_path()
Returns the active schema search path.
Source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 891
def schema_search_path
@schema_search_path ||= query('SHOW search_path', 'SCHEMA')[0][0]
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb line 891
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter