lib/paginate.rb in paginate-1.0.1 vs lib/paginate.rb in paginate-2.0.0
- old
+ new
@@ -9,14 +9,9 @@
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