lib/recurly/resource/pager.rb in recurly-2.1.7 vs lib/recurly/resource/pager.rb in recurly-2.1.8
- old
+ new
@@ -113,10 +113,11 @@
# @example
# Recurly::Account.active.paginate :per_page => 20
def paginate options = {}
dup.instance_eval {
@collection = @count = @etag = nil
- @options.update options and self
+ @options = @options.merge options
+ self
}
end
alias scoped paginate
alias where paginate