ActionMailer预览忽略正在加载到视图中的对象的实例。即使对象存在,我也会得到nilclass。如何使用actionmailer预览加载实例变量?contract_mailer_preview.rb 预览所有电子邮件,地址为 http://localhost:3000/rails/mailers/contract_mailer
class C
我有一个rails 7应用程序。email] mail(to: @leader_email, subject: "Your Teams Progress")规范/邮件/预览A couple of months ago you created the team <b><%= @team_name %></b> for the Team
在rails/mailers/