Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
大腿
@dannyxu
Member
NO. 20641 / 2015-08-20

[email protected]
0 Topics / 14 Replies
0 Followers
0 Following
4 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • [广州] 初创企业 Rails Full Stack 工程师,初 / 中级 8-25k+ 期权 at February 04, 2017

    同问

  • 如何侦测当前页面是否有人操作? at October 08, 2016

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

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

    规模可扩展性?

  • 关于 ActionCable 部署的细节经验分享 at March 15, 2016

    👍👍👍

  • Ruby China 的 RubyGems 镜像上线 at March 09, 2016

    顶🔝

  • 已升级到 Rails 5,用上了 ActionCable at March 07, 2016

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

  • 已升级到 Rails 5,用上了 ActionCable at March 07, 2016

    #41 楼 @ashchan 你说得对~

  • 已升级到 Rails 5,用上了 ActionCable at March 07, 2016

    #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 March 02, 2016

    prawn

  • 已升级到 Rails 5,用上了 ActionCable at March 02, 2016

    @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 March 02, 2016

    #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 February 21, 2016

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

  • Debian 创始人 Ian Murdock 自杀身亡 at December 31, 2015

    愿逝者安息

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

    github 有开源的项目:weixin_authorize

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