I'm using ActionMailer, and my current function is as follows:
我正在使用ActionMailer,我当前的功能如下:
def send_profile_reminder()
User.all do |user|
if user.setup_profile == false
ReminderMailer.send_reminder(user).deliver
end
end
end
Is this the most efficient answer?
这是最有效的答案吗?