Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以这是棘手的事情。
当用户尝试在网站上更改或更新他的电子邮件地址时,我确实希望发送一封电子邮件。但是,我不希望在用户首次注册时发送电子邮件。这真的很难实现,因为有了可确认的模块,我似乎不能没有另一个。
有关解决此问题的最佳方法的任何想法?
您可以覆盖registrationscontroller。
在创建动作中调用resource.skip_confirmation!在调用 resource.save 之前。
我有一个简单的 html 表格元素。
<table border="2" cellpadding="5" cellspacing="0" width="40%"> <tr><td> aaa </td><td> bbb </td></tr> <tr><td> ccc </td><