json.jbuilder
写脚本。
I don't care.
大公司病。
因为 Rails Tutorial 用了 Rspec,所以我投 -1。
TL; DR Github 更好。
config.action_mailer.default_url_options = { host: 'example.com' }
http://guides.rubyonrails.org/action_mailer_basics.html#generating-urls-in-action-mailer-views
我觉得,如果用另一个 Framework 希望实现 Rails 的功能,那么不如就用 Rails。
system (%Q|"C:\\Program Files\\WinRAR\\WinRAR.exe" a #{abc} #{abc}|)
是不是跟空格有关?
谁跑起来了截个图……
ActiveRecord 就是 update_attributes 啊,是用 ActiveRecord 吗?
数据库也使用 utf8。
排版
感受了一下,对面包屑没有留恋,我的鼠标上有后退键。
如果可以换组件,Postgresql 有 HStore 类型,Elasticsearch 添加索引的时候是无模式的,解决你的问题。
到垃圾邮件箱看看。
不知道用的是什么邮件发送服务,默认应该用的是系统的 sendmail 命令,看看日志(Linux 在 /var/log/mail)是否发送成功。
我的经验是用自己服务器上的邮件发送服务总是问题多多,还有可能被当作垃圾邮件,最好用专门的邮件服务比如 SES,Mailgun 等。
面包屑有点怪。
支持白色。
#7 楼 @darkbaby123 我觉得更好的方法是每个设备自己优化 px 的最佳显示比例,如果要开发者针对每个设备写 media query 那又是一个调试地狱了。
Depending on your situation. Ruby is the first choice in most cases for me, unless there is a better solutions or I have no choice, for example: Javscript in browser.
Consider this questions: