Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
李华顺
@huacnlee
Admin
NO. 2 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
502 Topics / 9058 Replies
959 Followers
53 Following
105 Favorites
Reward
GitHub Public Repos
  • autocorrect 1410

    A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuation...

  • rails-settings-cached 1101

    Global settings for your Rails application.

  • rucaptcha 696

    Captcha Gem for Rails, which generates captcha image by Rust.

  • zed-theme-macos-classic 95

    A macOS native style theme for Zed, let it same like native app in macOS.

  • vscode-macos-classic.t... 21

    macOS Classic theme for Visual Studio Code

  • zed-extension-action 19

    GitHub Action for automatically bump Zed Extensions version after a release.

  • autocorrect-action 11

    GitHub action for use AutoCorrect as lint

  • zed-autocorrect 6

    AutoCorrect for Zed

  • gpui-workspace 4

    Dock layout UI component for GPUI, that extracted from Zed project.

  • zed-lalrpop 3

    LALRPOP parser grammar support for Zed.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Ruby China API V3 获取 token 失败 at June 04, 2015

    需要 client id

  • Ruby China API V3 获取 token 失败 at June 04, 2015

    你怎么请求的

  • 酷站是不是 bug 啊? at June 04, 2015

    翻墙

  • 携程这回玩大了 at June 02, 2015

    #30 楼 @victor 最后句 :plus1:

  • Ruby China SSL 证书的小 issue at June 02, 2015

    @lgn21st 来看看

  • 线程 join at June 01, 2015

    #6 楼 @luikore 额,那我记错了

  • 线程 join at June 01, 2015

    Sleep 遇到 GIL 了,所以你的打印是顺序的

  • Rails s 无法开启 at May 31, 2015

    ping localhost 有么?

  • 部署 Heroku 报错:uninitialized constant Article::PictureUploader (NameError) at May 31, 2015

    本地,用 RAILS_ENV=production rails s 来运行,看看是否有错误

  • Ruby 中通过 AES-128-CBC 加密后密码和 Java 中通过 AES/CBC/PKCS5Padding 加密的密码不一致? at May 29, 2015

    翻我的贴,有个配置,Java 和 Ruby 默认参数不同,所以有差别

  • gem 添加源的时候报错,SocketError: getaddrinfo: Name or service not known at May 29, 2015

    请执行

    curl -V http://ruby.taobao.org/specs.4.8.gz
    
  • 携程这回玩大了 at May 28, 2015

    说 D 盘删除的人就不懂技术,网站部署只有一台机器么?难道没备用的,数据库可能就只有在一个机器上面吗

  • RubyMine 调试代码速度太慢了,有没有解决方案 at May 28, 2015

    那就不要用它,用 TextMate 或 Sublime Text

  • 类变量以及类实例变量会被 GC 么? at May 28, 2015
    class RedisCli
      class << self
        def client
          @redis ||= Redis.new
        end
    
        def method_missing(meth, *args, &blk)
          client.send(meth, *args,  &blk)
        end
      end
    end
    

    改成这样,有可能是调用到 method_missing 的时候,@redis 还没初始化

  • 关于 carrierwave 如何获取 original_filename 值感想 at May 27, 2015

    排好版

  • 根据实际的应用场景 Rails 其实还可以做到更极致的优化 at May 26, 2015

    已经提交 PR 给 Rails 了

    https://github.com/rails/sprockets-rails/pull/253

  • [远程] Ruby 中文官网徵求志工 at May 26, 2015

    推荐 @psvr

  • 搜索页面打不开了? at May 25, 2015

    修好了,上线了

  • gem update --system -V 时,服务器返回 302 和 304,是不是服务器绕了弯路? at May 24, 2015

    这是正确的啊

  • rails 报错"We're sorry, but something went wrong." at May 24, 2015

    绝对不是 Ruby 版本的问题

  • Rails 4.2 中点击 UJS 设置的链接经常会,直接跳转访问到对应链接的源文件,如何解? at May 22, 2015

    JS 乱了吧,冲突了吧

  • undefined method `admin_advertises_path' 路由报错 help!!!!!! at May 21, 2015

    以后请不要用截图,贴代码

    代码和路由看起来是正常的,写法也是正确的

  • 服务器自动重启影响 Rails 后台任务的问题 at May 20, 2015

    Sidekiq 有种状态模式叫 quiet (或是 USR1 信号),这个时候 Sidekiq 不会再开始新的任务,但已经开始的任务还能继续执行

    发布前,先将 Sidekiq 切到 quiet 模式,然后发布代码,重启 Rails App Server,最后才重启 Sidekiq。

    https://github.com/mperham/sidekiq/wiki/Signals#usr1

    USR1 tells Sidekiq it will be shutting down at some point in the near future. It will stop accepting new work but continue working on current messages. Use USR1+TERM to guarantee shutdown within a time period. Best practice is to send USR1 at the start of a deploy and TERM at the end of a deploy.

  • Rails 导出数据经验整理 at May 20, 2015

    怎么不用 find_each?

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