Skip to content

Instantly share code, notes, and snippets.

View mgswolf's full-sized avatar

Marcelo Giovane Silva mgswolf

  • DefIndex
  • Goiânia, Goiás, Brasil
View GitHub Profile
@tijmenb
tijmenb / gist:5052074
Last active December 14, 2015 07:39
Fix Draper / Kaminari conflict `undefined method `current_page' for #<Draper::CollectionDecorator:>`
module Draper
class CollectionDecorator
delegate :current_page, :total_pages, :limit_value
end
end