Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
大腿
@dannyxu
会员
第 20641 位会员 / 2015-08-20

[email protected]
0 篇帖子 / 14 条回帖
0 关注者
0 正在关注
4 收藏
未设置 GitHub 信息。
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • [广州] 初创企业 Rails Full Stack 工程师,初 / 中级 8-25k+ 期权 at 2017年02月04日

    同问

  • 如何侦测当前页面是否有人操作? at 2016年10月08日

    眼睛一直盯着算吗?擦拭屏幕算吗?😀 触摸移动,点击,输入,滚屏… 大致就这些吧,所有事件都触发呗

  • 关于提高 Rails 性能,你需要知道的三件事 at 2016年09月03日

    规模可扩展性?

  • 关于 ActionCable 部署的细节经验分享 at 2016年03月15日

    👍👍👍

  • Ruby China 的 RubyGems 镜像上线 at 2016年03月09日

    顶🔝

  • 已升级到 Rails 5,用上了 ActionCable at 2016年03月07日

    #45 楼 @huacnlee 好吧。可能我运行的是 actioncable-examples,且是 In app 的方式(nginx + passenger),那样配置后就没有 warning 了

  • 已升级到 Rails 5,用上了 ActionCable at 2016年03月07日

    #41 楼 @ashchan 你说得对~

  • 已升级到 Rails 5,用上了 ActionCable at 2016年03月07日

    #42 楼 @huacnlee 我的问题解决了,参考https://github.com/rails/rails/tree/v5.0.0.beta3/actioncablerequest,应该是 origins 的问题

    试试在 config/environments/production.rb 里修改配置:

    # Action Cable endpoint configuration
      config.action_cable.url = '/cable'
      config.action_cable.allowed_request_origins = [ 'http://ruby-china.org' ]
    
    
  • Ruby 处理 PDF 的开源项目大家有了解么? at 2016年03月02日

    prawn

  • 已升级到 Rails 5,用上了 ActionCable at 2016年03月02日

    @huacnlee,打开浏览器端 firebug, 发现会定时出现 warning: WebSocket connection to 'wss://ruby-china.org/cable' failed: WebSocket is closed before the connection is established. 这是为什么呢?我根据 tutorial 里面的例子做了一个 server,也发现有类似的问题。 附图

  • 已升级到 Rails 5,用上了 ActionCable at 2016年03月02日

    #33 楼 @ericguo "The Action Cable server does not need to be a multi-threaded application server. This is because Action Cable uses the Rack socket hijacking API to take over control of connections from the application server."

  • 已升级到 Rails 5,用上了 ActionCable at 2016年02月21日

    “用 Puma 代替 Unicorn 了,原因是 ActionCable 需要多线程的 Rails App Server”,这个理由似乎不成立了

  • Debian 创始人 Ian Murdock 自杀身亡 at 2015年12月31日

    愿逝者安息

  • (微信) 通过 PC 端扫码登录,同步已关注公众号的信息,求高手解答 at 2015年10月13日

    github 有开源的项目:weixin_authorize

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