Sha256: c47cf498ac1a18eb5c2a500fb36a06671a5ac299adb519dba72a7f8239082c9e

Contents?: true

Size: 412 Bytes

Versions: 17

Compression:

Stored size: 412 Bytes

Contents

# This needs to be loaded before sunspot/search/paginated_collection
# or #to_json gets defined in Object breaking delegation to Array via
# method_missing
if Rails::VERSION::MAJOR > 4 || (Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR >= 1)
  require 'active_support/core_ext/object/json'
else
  require 'active_support/core_ext/object/to_json'
end

require 'sunspot/rails'
require 'sunspot/rails/railtie'

Version data entries

17 entries across 17 versions & 2 rubygems

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