Sha256: 46da00b5086b2f40162c8be5d5e8b01eb30bd37dd27ac1bcbbc0c04a7eff83a9

Contents?: true

Size: 220 Bytes

Versions: 5

Compression:

Stored size: 220 Bytes

Contents

require 'mongoid_search'
require 'rails'

module Mongoid::Search
  class Railtie < Rails::Railtie
    rake_tasks do
      Dir[File.join(File.dirname(__FILE__), '../../tasks/*.rake')].each { |f| load f }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mongoid_search-0.3.2 lib/mongoid_search/railtie.rb
mongoid_search-0.3.1 lib/mongoid_search/railtie.rb
mongoid_search-0.3.0 lib/mongoid_search/railtie.rb
mongoid_search-0.2.8 lib/mongoid_search/railtie.rb
mongoid_search-0.2.7 lib/mongoid_search/railtie.rb