Sha256: e5a1dc6c9cfd7863d53b28d9b37a985c703d2c205f81be021ea79e5e26a501d0

Contents?: true

Size: 229 Bytes

Versions: 6

Compression:

Stored size: 229 Bytes

Contents

module Pagers
  class Railtie < Rails::Railtie

    initializer 'pagers' do
      ::ActiveRecord::Base.send :include, Pagers::ActiveRecord::Base
      ::ActionView::Base.send :include, Pagers::ActionView::Base
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pagers-3.1.5 lib/pagers/railtie.rb
pagers-3.1.4 lib/pagers/railtie.rb
pagers-3.1.3 lib/pagers/railtie.rb
pagers-3.1.2 lib/pagers/railtie.rb
pagers-3.1.1 lib/pagers/railtie.rb
pagers-3.1.0 lib/pagers/railtie.rb