Sha256: e5a8fafb1b00f89c186afb554a23edd73919dd6a67b19d946f91683aceac96fd
Contents?: true
Size: 458 Bytes
Versions: 2
Compression:
Stored size: 458 Bytes
Contents
module Pagers class Railtie < Rails::Railtie initializer 'pagers.active_record' do ActiveSupport.on_load :active_record do ::ActiveRecord::Base.include( Pagers::Extensions::ActiveRecord::Base ) end end initializer 'pagers.action_view' do ActiveSupport.on_load :action_view do ::ActionView::Base.include( Pagers::Extensions::ActionView::Base ) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pagers-5.1.0 | lib/pagers/railtie.rb |
pagers-4.0.0.1 | lib/pagers/railtie.rb |