Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Rei
@Rei
Admin
NO. 1 / 2011-10-28

[email protected]
深圳
185 Topics / 9142 Replies
728 Followers
0 Following
11 Favorites
中下水平 Rails 程序员
Reward
GitHub Public Repos
  • writings 941

    [Closed] Source code of writings.io

  • alipay 732

    Unofficial alipay ruby gem

  • code_campo 291

    [Closed] Source code of http://codecampo.com

  • asciidoctor-pdf-cjk-ka... 101

    **no longer maintained**

  • asciidoctor-htmlbook 31

    Asciidoctor HTMLBook is an Asciidoctor backend for converting AsciiDoc documents to HTMLBook docu...

  • material-ui 17

  • htmlrenderer 12

  • rich-text-editor 12

  • rails-chatgpt-demo 8

  • rails-app 7

    A Rails project template lets me start new projects quickly.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Rails 并发问题 at July 13, 2018

    cpu 还没用完,设 4 个 worker。

  • Rails 中有哪些工厂模式的例子吗? at July 12, 2018

    And if they've heard of it, they've probably (correctly) concluded that they don't need it.

  • Rails 中有哪些工厂模式的例子吗? at July 12, 2018

    Dependency Injection is an example of a popular new Java design pattern that programmers using Ruby, Python, Perl and JavaScript have probably never heard of. And if they've heard of it, they've probably (correctly) concluded that they don't need it. Dependency Injection is an amazingly elaborate infrastructure for making Java more dynamic in certain ways that are intrinsic to higher-level languages. And – you guessed it – DI makes your Java code base bigger.
    http://steve-yegge.blogspot.com/2007/12/codes-worst-enemy.html

  • 请问 Ruby 生态中有类似 Pyinstall 这样的工具吗 at July 11, 2018

    2 楼回复是不负责任的误导,crystal 是另一个语言,虽然跟 Ruby 很像但终究不一样。

    我见过的 Ruby 打包工具有:

    • https://github.com/pmq20/ruby-packer
    • https://github.com/phusion/traveling-ruby
    • https://github.com/hone/mruby-cli

    没实际用过。如果只需要 Linux 也许还是 gem 好用,发行版源里都有 Ruby。

  • 关于简单路由和嵌套路由使用同一个 Controller 的问题 at July 09, 2018
    resources :comments
    
    resources :posts do
      resources :comments, controller: 'posts/comments'
    end
    
  • Chrome 7 月 大限将至,广大在野站长面临艰难选择 at July 04, 2018

    角度刁钻。

  • 注意 Rails.cache.increment 设定有效期的问题 at June 30, 2018
    > Rails.cache.write 'foo', 1
    => "OK"
    > Rails.cache.redis.get 'cache:foo'
    => "\u0004\bo: ActiveSupport::Cache::Entry\n:\v@valuei\u0006:\u0015@marshaled_value\"\t\u0004\bi\u0006:\r@version0:\u0010@created_atf\u00171530335167.8461182:\u0010@expires_inf\v8.64e4"
    

    Rails.cache 写入的是 ActiveSupport::Cache::Entry,用作缓存以外的用途时可能有不可预料的问题,依赖底层功能的时候我都直接用 Rails.cache.redis。

  • Brakeman 被 Synopsys 收购,新协议禁止集成 Brakeman 的功能到产品中 at June 30, 2018

    However, under the new license, it is no longer possible to use Brakeman OSS for the development of a commercial product or online service or to resell Brakeman OSS as a service.

    感觉这 or 是不是写多了,根据 issues 后面的解释,可以用来扫描商业项目,但不能作为产品功能的一部分。

  • Rails 开发环境初次访问 javascript_include_tag 超慢。 at June 27, 2018

    一般编译慢是因为:

    1. 文件系统慢,例如虚拟机。
    2. 依赖的包太多。
    3. 缓存有问题。
  • 使用 Active Storage 往七牛上存东西,发生问题,求解 at June 25, 2018

    没看到 qiniu 的适配器描述,activestorage 原生不支持 qiniu 的。

  • 求推荐一个好用的生产环境管理错误日志的平台,付费的也可以 at June 25, 2018

    我都是同步发的,感觉良好。

  • 求推荐一个好用的生产环境管理错误日志的平台,付费的也可以 at June 25, 2018

    sentry 直接发给他们服务器,怎么会导致 redis 爆?

  • Let's GO 语言吧 at June 24, 2018

    1k/3min 和 1k/1.5min 对比,好像还是可以接受的嘛,worker 开了多少线程?

  • Ruby Docker with jemalloc at June 21, 2018

    一个是系统进程内存一个是 ruby 运行时内存,不一样。

  • Rails Asset Pipeline Directory Traversal Vulnerability at June 20, 2018

    👍

  • 招聘困难 at June 20, 2018

    好了好了,知道你有女朋友了。

  • 讨要薪资 at June 18, 2018

    我联系了 @hrz3424-github @MarcSteven @Frank_Li ,各方没办法达成一致,只能走法律途径。

    Ruby China 是技术论坛,无力解决这事,继续争论也不会有结果。管理员群组决定不介入争议,隔离事件,等待法律结果:

    1. 双方不能再在论坛上对此事评论,否则封号。
    2. 跨境帮不能发布新的招聘帖。
    3. 相关帖子锁定。

    我们站在法律裁决这一边。

  • 讨要薪资 at June 17, 2018

    别逼着管理员表态,我们无法判断,除非劳动仲裁结果出来。

  • 讨要薪资 at June 17, 2018

    就目前的信息,我无法判断。

  • 讨要薪资 at June 16, 2018

    管理员没有能力做裁判,建议走法律渠道。我只介入到之前用人方毫无回应这件事,另外提醒双方,已发布到互联网的信息会一直保留。

  • 讨要薪资 at June 16, 2018

    那个招聘贴留着,用于以后追溯。

    如果那个贴楼主不解释,会拉入 Ruby China 黑名单。

  • 有没有办法部署的时候把不需要的 scss coffee node_modules 一些不需要的内容删除掉。 at June 16, 2018

    这个需求太简单了,我觉得不会有人再包装一层 rm。

    并且在虚拟机环境,删掉 node_modules 意味着下次部署要重新下载一次所有包,工具一般不会把删除包作为默认。

  • 有没有办法部署的时候把不需要的 scss coffee node_modules 一些不需要的内容删除掉。 at June 16, 2018

    那就 rm 啊。

  • Alipay Gem 单笔转账 at June 16, 2018

    可能是编码的问题,alipay 不认 utf-8 编码,或者处理方式和 ruby 不一样,可以尝试 pull/78 里面的方式用 gbk 编码。

    不过不要期望我给出完整方案,因为我没有项目在用 alipay,现在只负责 merge,欢迎 PR。

  • Alipay Gem 单笔转账 at June 15, 2018

    我指支付宝的官方文档。

  • Alipay Gem 单笔转账 at June 15, 2018

    可以试试这个实现 https://github.com/chloerei/alipay/pull/78

  • Alipay Gem 单笔转账 at June 15, 2018

    按官方文档实现一遍,看哪里有问题。

  • Alipay Gem 单笔转账 at June 15, 2018

    可以帮 debug 一下

  • 因为工作需要,业余时间和几个同事一起翻译了一下 Google API Design Guide,有需要的可以来看看。 at June 14, 2018

    没有附原文链接

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