For example, to retrieve records in batches of 5000: Customer.find_each(batch_size: 5000) do |customer| NewsMailer.weekly(customer).deliver_now end
確定! 回上一頁