Sha256: 75373595c79df6111657e234b253e1c881ca5bd59082b793151589f8a3804a76

Contents?: true

Size: 309 Bytes

Versions: 4

Compression:

Stored size: 309 Bytes

Contents

class ThinkingSphinx::Railtie < Rails::Railtie
  initializer 'thinking_sphinx.initialisation' do
    ActiveSupport.on_load(:active_record) do
      ActiveRecord::Base.send :include, ThinkingSphinx::ActiveRecord::Base
    end
  end

  rake_tasks do
    load File.expand_path('../tasks.rb', __FILE__)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thinking-sphinx-3.4.2 lib/thinking_sphinx/railtie.rb
thinking-sphinx-3.4.1 lib/thinking_sphinx/railtie.rb
thinking-sphinx-3.4.0 lib/thinking_sphinx/railtie.rb
thinking-sphinx-3.3.0 lib/thinking_sphinx/railtie.rb