module ActiveConnection
Constants
- VERSION
Public Class Methods
schema_search_path(*paths) { || ... }
click to toggle source
# File lib/active_connection.rb, line 5 def schema_search_path(*paths, &block) original_search_path = ActiveRecord::Base.connection.schema_search_path ActiveRecord::Base.connection.schema_search_path = paths.join(',') yield ensure ActiveRecord::Base.connection.schema_search_path = original_search_path end