nail down issue with pagination.rb