Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Rei Mk-II
@Rei_mk2
VIP
NO. 1932 / 2012-04-22

0 Topics / 15 Replies
2 Followers
0 Following
0 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Active Storage 的文档过了一遍,觉得如果是保存在云,是个不错的选择,可是是不是不适合保存在本地? at April 20, 2018

    就用 Disk Service 啊 http://guides.rubyonrails.org/active_storage_overview.html#disk-service

    实际中一扩容服务器就会遇到文件系统扩展的问题,几乎都会上云储存。

  • ActionView 的組件有安全問題,請趕快更新 rails-html-sanitizer,並確定是否已經是 1.0.4 或以上 at March 23, 2018

    [CVE-2018-8048] Loofah XSS Vulnerability https://groups.google.com/forum/#!topic/rubyonrails-security/b__OeLG9bts

    [CVE-2018-3741] XSS vulnerability in rails-html-sanitizer https://groups.google.com/forum/#!topic/rubyonrails-security/tP7W3kLc5u4

    所有项目都应该升级。

  • 如何 debug ActionMailer 的报错 at April 17, 2017

    预览电子邮件 http://guides.ruby-china.org/action_mailer_basics.html#%E9%A2%84%E8%A7%88%E7%94%B5%E5%AD%90%E9%82%AE%E4%BB%B6

    测试邮件程序 http://guides.ruby-china.org/testing.html#%E6%B5%8B%E8%AF%95%E9%82%AE%E4%BB%B6%E7%A8%8B%E5%BA%8F

  • 关于分享博客内容 at March 16, 2017

    摘要+链接

  • 如何评价这样一位开发者? at March 16, 2017

    资料随手可查,有想过这么随意一句会误导新手吗?

    http://guides.rubyonrails.org/association_basics.html#choosing-between-has-many-through-and-has-and-belongs-to-many

  • 在 Staging 环境中部署 ActionCable 遇到的坑 at March 15, 2017

    刚看了一下,也没写对。最佳实践是把不变的东西写在前面,然后就会利用缓存:

    WORKDIR /app
    ADD Gemfile /app
    ADD Gemfile.lock /app
    RUN bundle install
    ADD . /app
    

    如果 Gemfile 不变,Bundle 是缓存的。

    我看这里学的

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English