Sha256: a77943864fedcbf415eb927d03a92aece1eca4af6bda79f4d20073a51b9aa622

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

module BarelySearchable
  class Railtie < Rails::Railtie
    config.to_prepare do
      ::ActiveRecord::Base.send(:load, 'barely_searchable/model_injections.rb')
      ::ActiveRecord::Base.send(:include, BarelySearchable::ModelInjections)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
barely_searchable-1.0.0 lib/barely_searchable/railtie.rb