Sha256: ebcf66fcb23901e31f3df774636bc9ae920a78a1f5bb58f6c7ebb70ffdfdb784
Contents?: true
Size: 497 Bytes
Versions: 1
Compression:
Stored size: 497 Bytes
Contents
require "i18n" require "active_record" require "paginate/base" require "paginate/config" require "paginate/helper" require "paginate/renderer" require "paginate/active_record" require "paginate/action_controller" module Paginate def self.configure(&block) yield Config end def self.setup(&block) warn "Paginate.setup is deprecated; use Paginate.configure instead." configure(&block) end end Paginate.configure do |config| config.param_name = :page config.size = 10 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paginate-1.0.1 | lib/paginate.rb |