Sha256: 1a78901843eeaa6a4eb8564c5c40aaabdfb81f45ad30551d25991baa319b2ac3

Contents?: true

Size: 260 Bytes

Versions: 6

Compression:

Stored size: 260 Bytes

Contents

module ElasticsearchAutocomplete
  class Railtie < Rails::Railtie
    initializer 'elasticsearch_autocomplete.model_additions' do
      ActiveSupport.on_load :active_record do
        include ElasticsearchAutocomplete::ModelAddition
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
elasticsearch_autocomplete-0.1.2 lib/elasticsearch_autocomplete/railtie.rb
elasticsearch_autocomplete-0.1.1 lib/elasticsearch_autocomplete/railtie.rb
elasticsearch_autocomplete-0.1.0 lib/elasticsearch_autocomplete/railtie.rb
elasticsearch_autocomplete-0.0.4 lib/elasticsearch_autocomplete/railtie.rb
elasticsearch_autocomplete-0.0.3 lib/elasticsearch_autocomplete/railtie.rb
elasticsearch_autocomplete-0.0.2 lib/elasticsearch_autocomplete/railtie.rb