Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
何志文
@kevin_he
Member
NO. 23226 / 2015-10-29

[email protected]
北京
5 Topics / 15 Replies
0 Followers
2 Following
52 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • [郑州][10.13-14] Ruby Summit China 2018 报名 [早鸟票继续开放,更有晚宴开放],《日程更新》13日 晚所有参会人员送 3 个月的 RubyMine 试用 license at August 27, 2018

    什么时候开始售票?

  • 接受 app 端传来的 json 数据问题 at June 05, 2017

    推荐 eval 方法,具体请自行搜索,仅供参考😀😀

  • Rails 项目同时连接 MySQL 和 Oracle,部署到服务器上后报错 "The connection cannot be reused in the forked process" at November 29, 2016

    #6 楼 @mystery 项目服务器上面 unicron.rb 已经做了如下设置,但是依旧报同样的错误😂

    before_fork do |server, worker|
      defined?(ActiveRecord::Base) and
        ActiveRecord::Base.connection.disconnect!
    end
    
    after_fork do |server, worker|
      defined?(ActiveRecord::Base) and
        ActiveRecord::Base.establish_connection
    end
    
  • Rails 项目同时连接 MySQL 和 Oracle,部署到服务器上后报错 "The connection cannot be reused in the forked process" at November 28, 2016

    #3 楼 @themadeknight 这个我自己整理的,你可以参考一下:http://blog.csdn.net/kavin_luo/article/details/52641045

  • Rails 项目同时连接 MySQL 和 Oracle,部署到服务器上后报错 "The connection cannot be reused in the forked process" at November 28, 2016

    #1 楼 @cxh116 使用的是 unicorn,应该怎么设置?服务器不太了解😓

  • 使用 Typhoeus 向银联发送 post 请求,代码在本地运行,request.run 速度很快,但是在服务器上运行出错? at April 08, 2016

    #1 楼 @huacnlee 我在本地运行就可以,但是部署到服务器上就不行了,而且在本地和服务器上面 ping 以及 telnet 得到的结果是一样的,你有什么方法可以检查那里出现错误或者怎么修改才可行的么?

  • 使用 Typhoeus 向银联发送 post 请求,代码在本地运行,request.run 速度很快,但是在服务器上运行出错? at April 08, 2016

    坐等大神们指点...

  • 使用 Typhoeus 向银联发送 post 请求,代码在本地运行,request.run 速度很快,但是在服务器上运行出错? at April 08, 2016

    #1 楼 @huacnlee ping 101.231.204.80,没有问题,可以 ping 通, telnet 101.231.204.80 5000

    Trying 101.231.204.80...
    Connected to 101.231.204.80.
    Escape character is '^]'.
    Connection closed by foreign host.
    
  • 外部 URL 通过 HTTP,POST 到项目上 notify 这个 action 的参数,怎么获取到? at April 07, 2016

    #2 楼 @huacnlee 哦哦,好的,我把方法写完整试试,谢谢

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

    太棒了,支持。

  • webhooks 验证公钥失败 at March 24, 2016

    #1 楼 @embbnux verify_signature 这个方式是用来验证 webhooks 中的签名是否正确的,我使用的是 RubyMine 编辑器,可以找到这个方法,但是不能调用。

  • 提高 Ruby 程序员效率的 rc 文件 at October 29, 2015

    已赞,已收藏,好帖子!

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