lib/picky/results.rb in picky-4.6.1 vs lib/picky/results.rb in picky-4.6.2
- old
+ new
@@ -41,17 +41,15 @@
allocations.process!(amount, offset, extra_allocations)
end
# Delegates to allocations.
#
- # TODO Remove parameter in 5.0 and just call the method with amount.
- #
# Note that this is an expensive call and
# should not be done repeatedly. Just keep
# a reference to the result.
#
- def ids only = nil
- allocations.ids only || amount
+ def ids only = amount
+ allocations.ids only
end
# The total results. Delegates to the allocations.
#
def total
\ No newline at end of file