0
我有一個行情模型,我已經在Update - Controller中添加了一個Actionmailer。布爾值Actionmailer True True
我希望Actionmailer只有在接受(布爾)被選中時纔會關閉。
任何人有任何想法?
在此先感謝。
我有一個行情模型,我已經在Update - Controller中添加了一個Actionmailer。布爾值Actionmailer True True
我希望Actionmailer只有在接受(布爾)被選中時纔會關閉。
任何人有任何想法?
在此先感謝。
if @user.active == true
UserMailer.active_user_notice_email(@user).deliver
end
Sorted it Out