the with_paginated_resultset callback receives an ActiveRelation object, not a lambda