Sha256: 85954227ae1d6ec84894e5f318bdfb5394ccc048448658c207dbde4aca76d43d

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 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
require 'active_support/core_ext/object/to_json' if ::Rails.version >= '3'

require 'sunspot/rails'

if ::Rails.version >= '3'
  require 'sunspot/rails/railtie'
else
  require 'sunspot/rails/init'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sunspot_rails-2.0.0 lib/sunspot_rails.rb
sunspot_rails-2.0.0.pre.130115 lib/sunspot_rails.rb