Sha256: dca1003c450cdc05fe937ac2015c838beb88fd0831f846d06e9ce4dd590e4d33

Contents?: true

Size: 431 Bytes

Versions: 57

Compression:

Stored size: 431 Bytes

Contents

Sunspot.session = Sunspot::Rails.build_session
Sunspot::Adapters::InstanceAdapter.register(Sunspot::Rails::Adapters::ActiveRecordInstanceAdapter, ActiveRecord::Base)
Sunspot::Adapters::DataAccessor.register(Sunspot::Rails::Adapters::ActiveRecordDataAccessor, ActiveRecord::Base)
ActiveRecord::Base.module_eval { include(Sunspot::Rails::Searchable) }
ActionController::Base.module_eval { include(Sunspot::Rails::RequestLifecycle) }

Version data entries

57 entries across 57 versions & 10 rubygems

Version Path
sunspot_rails-2.7.1 lib/sunspot/rails/init.rb
sunspot_rails-2.7.0 lib/sunspot/rails/init.rb
sunspot_rails-2.6.0 lib/sunspot/rails/init.rb
sunspot_rails-2.5.0 lib/sunspot/rails/init.rb
sunspot_rails-2.4.0 lib/sunspot/rails/init.rb
sunspot_rails-2.3.0 lib/sunspot/rails/init.rb
sunspot_rails-2.2.8 lib/sunspot/rails/init.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/sunspot_rails-2.2.7/lib/sunspot/rails/init.rb
sunspot_rails-2.2.7 lib/sunspot/rails/init.rb
sunspot_rails-2.2.6 lib/sunspot/rails/init.rb
sunspot_rails-2.2.5 lib/sunspot/rails/init.rb
sunspot_rails-2.2.4 lib/sunspot/rails/init.rb
sunspot_rails-2.2.3 lib/sunspot/rails/init.rb
sunspot_rails-2.2.2 lib/sunspot/rails/init.rb
sunspot_rails-2.2.1 lib/sunspot/rails/init.rb
sunspot_rails-2.2.0 lib/sunspot/rails/init.rb
sunspot_rails-2.1.1 lib/sunspot/rails/init.rb
sunspot_rails-2.1.0 lib/sunspot/rails/init.rb
sunspot_rails-2.0.0 lib/sunspot/rails/init.rb
sunspot_rails-2.0.0.pre.130115 lib/sunspot/rails/init.rb