Sha256: c7d373688f15214be9713f8be2efaf7e6695539ba460ea2cab452e23d3e792cd

Contents?: true

Size: 276 Bytes

Versions: 6

Compression:

Stored size: 276 Bytes

Contents

require "rails_autocomplete/active_record_extension"

module RailsAutocomplete
  class Railtie < ::Rails::Railtie
    config.before_initialize do
      ActiveSupport.on_load :active_record do
        include RailsAutocomplete::ActiveRecordExtension
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_autocomplete-0.1.0 lib/rails_autocomplete/railtie.rb
rails_autocomplete-0.0.6 lib/rails_autocomplete/railtie.rb
rails_autocomplete-0.0.5 lib/rails_autocomplete/railtie.rb
rails_autocomplete-0.0.4 lib/rails_autocomplete/railtie.rb
rails_autocomplete-0.0.3 lib/rails_autocomplete/railtie.rb
rails_autocomplete-0.0.2 lib/rails_autocomplete/railtie.rb