TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Robby on Rails : Sending email: Controllers versus Models
18 点
作者
rajeshrajappan
超过 15 年前
2 条评论
ovi256
超过 15 年前
You can also do it from Observers, but I tend to agree that doing it from the model, as a callback, seems the cleanest, more idiomatic way.
maurycy
超过 15 年前
Collapse
So 2006.<p>Nothing new after: <a href="http://weblog.jamisbuck.org/2006/10/18/skinny-controller-fat-model" rel="nofollow">http://weblog.jamisbuck.org/2006/10/18/skinny-controller-fat...</a>
评论 #944812 未加载