Module: Sunspot::Rails

Defined in:
lib/sunspot/rails.rb,
lib/sunspot/rails/util.rb,
lib/sunspot/rails/server.rb,
lib/sunspot/rails/adapters.rb,
lib/sunspot/spec/extension.rb,
lib/sunspot/rails/searchable.rb,
lib/sunspot/rails/configuration.rb,
lib/sunspot/rails/session_proxy.rb,
lib/sunspot/rails/request_lifecycle.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Adapters, RequestLifecycle, Searchable, Spec Classes: Configuration, Server, SessionProxy, Util

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



13
14
15
# File 'lib/sunspot/rails.rb', line 13

def configuration
  @configuration ||= Sunspot::Rails::Configuration.new
end

Class Method Details

.resetObject



17
18
19
# File 'lib/sunspot/rails.rb', line 17

def reset
  @master_session = @configuration = nil
end