Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (18 sloc) 426 Bytes
require 'active_record'
require 'nokogiri'
require 'httparty'
require 'builder'
require "simple_solr/update"
require "simple_solr/search"
require "simple_solr/configuration"
require "simple_solr/version"
if defined?(ActiveRecord::Base)
ActiveRecord::Base.send :include, SimpleSolr::Update
end
module SimpleSolr
class << self
def configuration
@configuration ||= SimpleSolr::Configuration.new
end
end
end