# File lib/thinking_sphinx/active_record/interpreter.rb, line 43 def set_database(hash_or_key) configuration = hash_or_key.is_a?(::Hash) ? hash_or_key : ::ActiveRecord::Base.configurations[hash_or_key.to_s] __source.set_database_settings configuration.symbolize_keys end