Sha256: 7eb10dfca539bb6bc513d42e448f6a00c56809908f9c85d4c23c3c924c031e4d
Contents?: true
Size: 488 Bytes
Versions: 5
Compression:
Stored size: 488 Bytes
Contents
class ThinkingSphinx::Railtie < Rails::Railtie ActiveSupport.on_load :active_record do include ThinkingSphinx::ActiveRecord::Base end rake_tasks do load File.expand_path('../tasks.rb', __FILE__) end end # Add 'app/indices' path to Rails Engines module ThinkingSphinx::EnginePaths extend ActiveSupport::Concern included do initializer :add_indices_path do paths.add "app/indices" end end end Rails::Engine.send :include, ThinkingSphinx::EnginePaths
Version data entries
5 entries across 5 versions & 1 rubygems