Comments (11)
devise 好像自带
from 19wu.
@ShawnYu devise 是有带这个功能,但为了让每个功能尽量细化,就分成多个 issue 去做。
from 19wu.
got it
from 19wu.
这部分的邮件服务器参数如何配置啊?还是只给最终用户一个模版,让用户自己修改配置?
from 19wu.
@richard-ma 你指的邮件服务器参数是
config.action_mailer.default_url_options = { :host => "example.com" }
还是
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = { ... }
from 19wu.
在development环境里设置的
config.action_mailer.default_url_options = { :host => "127.0.0.1:3000" }
from 19wu.
@saberma 这部分代码有些我理解错了,已经删除了这个分支,我会重写一份。
另外devise的mailer还需要写测试吗?rspec对mailer的测试有没有好的教程可以推荐?
from 19wu.
简单测试只测待发数组中是否有新记录
ActionMailer::Base.deliveries.empty?.should be_false
详细测试类似
email = FooMailer.send().deliver
email.subject.should eql "19屋 激活邮件\n"
email.body.should include('尊敬的马海波')
@windy 有没有补充的
from 19wu.
@richard-ma 看下 @doitian 的这个 PR #122 ,加入了 Setting 配置,也包括 email 的。
from 19wu.
@saberma 好的
from 19wu.
@windy 注册功能已经由 @richard-ma 完成,你另起三个待领任务
- 邮件激活帐号
- 用户帐号修改页面
- 用户上传头像
from 19wu.
Related Issues (20)
- 举办方可以导出发票信息
- 用户报名时可以选择“不需要发票”
- 更新短信运营商
- 修正查询订单列表时出现重复订单的问题
- 管理员可以输入用户的手机号码完成签到
- rake setup报错 HOT 3
- error HOT 1
- 注册问题 HOT 1
- 大型活动需求:人本设计大会HDCon
- 大型活动需求:人本设计大会HDCon
- 管理员可以创建优惠码
- 管理员可以为票种设置独立的数量
- 用户可以填写公司职位或者其他自定义的信息
- 管理员可以对门票进行排序
- 用户购买多张门票时可以分开进行签到
- 管理员导出的签到列表要包含用户手机号码
- devise版本问题
- 取消参与活动的用户仍然会显示在活动 show 页面右下角的“已参加用户”列表里
- 该项目还更新吗 HOT 4
- 网站主体的宽度不合适 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 19wu.