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
  • 服务器上的周期性任务大家都习惯用什么来实现呢? at February 24, 2016

    https://ruby-china.org/search?q=crontab

  • 关于 elasticsearch-rails 的疑问 at February 24, 2016

    #2 楼 @imwildcat MAX 256

  • Markdown 开始支持设置图片宽度高度 at February 23, 2016

    #2 楼 @rei 我时常需要设定宽度,因为 Mac 上面截图是 Retina 2x 尺寸

    另外,这个语法 GitHub 也是支持的

  • 为什么酷站中没有大鱼自助游了? at February 23, 2016

    #5 楼 @towonzhou 已经有了的啊

  • Ruby China 官方 iOS 客户端已发布上线 at February 23, 2016

    #44 楼 @gotzehsing 已解封

    另外,我已经提交修复了,App Store Review 中,等待升级 1.1.2 版本

  • 关于 elasticsearch-rails 的疑问 at February 23, 2016

    看 elasticsearch-model 的文档! https://github.com/elastic/elasticsearch-rails/tree/master/elasticsearch-model

    另外,不知道 Ruby China 里面 Topic -> replies 的做法是不是你想要的:

    https://github.com/ruby-china/ruby-china/blob/master/app/models/topic.rb#L70

  • Rails Web Service 要有 SOAP 的添加哪种好?washout 怎么样? at February 23, 2016

    https://ruby-china.org/search?q=SOAP

  • Rails 用 RJS 简单有效的实现页面局部刷新 at February 22, 2016

    #8 楼 @qinfanpeng 复杂的都要放到 JS 函数里面,避免服务端返回过多多余代码

  • 网站被恶意访问的解决方案? at February 22, 2016

    Ruby China 也时常会遇到恶意攻击,一般都是有主机商的网络层来解决的。 @lgn21st 来说说细节

  • Rails 用 RJS 简单有效的实现页面局部刷新 at February 22, 2016

    #2 楼 @adamshen 对,以上的动作和 jquery_ujs 有非常大的关系

  • Rails 用 RJS 简单有效的实现页面局部刷新 at February 22, 2016

    其实一开始我是在找 Turbolinks 里面是否有类似的方法,尝试了

    Turbolinks.visit(location.href, { change: ['form-field-user-address'] });
    

    但结果失败了,首先浏览器会滚动到顶部页面动了...

  • 为什么酷站中没有大鱼自助游了? at February 19, 2016

    #3 楼 @nainc 已经恢复了

  • 为什么酷站中没有大鱼自助游了? at February 19, 2016

    之前有段时间,我曾经检查过所有网站,打不开的就被删掉了,可能正好那次没法打开

  • 已升级到 Rails 5,用上了 ActionCable at February 18, 2016

    据最近一段时间 Ruby China 上面运作来看,需要将 ActionCable 独立部署在单独的 Puma 进程上面,避免堵塞。ActionCable 官方文档关于 Deployment 部分也是这么说的:

    Action Cable is powered by a combination of websockets and threads. All of the connection management is handled internally by utilizing Ruby’s native thread support, which means you can use all your regular Rails models with no problems as long as you haven’t committed any thread-safety sins.
    
    But this also means that Action Cable needs to run in its own server process. So you'll have one set of server processes for your normal web work, and another set of server processes for the Action Cable.
    
    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. Action Cable then manages connections internally, in a multithreaded manner, regardless of whether the application server is multi-threaded or not. So Action Cable works with all the popular application servers -- Unicorn, Puma and Passenger.
    
    Action Cable does not work with WEBrick, because WEBrick does not support the Rack socket hijacking API.
    

    https://github.com/rails/rails/tree/master/actioncable#deployment

    另外,还有好多细节也会影响性能的,比如前端需要确保用户关闭页面或退出对应功能的时候,一定会 Unsubscribe 关掉连接,不然后端会保持很多 ActionCable Connection 无法释放。

  • Ruby China 官方 iOS 客户端已发布上线 at February 18, 2016

    #41 楼 @gotzehsing 已经修复,并提交了 1.0.2 版本,等审核

  • Ruby China 官方 iOS 客户端已发布上线 at February 17, 2016

    #36 楼 @gotzehsing 对,我屏蔽过你的 IP,上次发现从你那个 IP 发来大量重复的请求

  • [深圳] DJI 大疆创新 Q1 招聘 Ruby 工程师 3 + 2 名 (saberma 内推 15-30k) at February 17, 2016

    赞助商广告那张图有噪点,品质不够好,给一张新的吧

  • 目前 Ruby 代码维护是如何保证质量的? at February 16, 2016
    • https://github.com/bbatsov/rubocop - 代码风格检测
    • https://github.com/presidentbeef/brakeman - 安全检测
    • CI 测试

    所有改动,走 Pull Request 的方式,先 Review 再合并到 Master

  • 对所有已登录的用户开放 rack-mini-profiler 统计结果 at February 14, 2016

    #58 楼 @cristinaoh 安全问题

  • [杭州] 小杉果研发中心诚邀一名中高级 Rails 伙伴加入我们!~~~ at February 14, 2016

    华星现代产业园,哈哈哈 😄 以前我也待过

  • 对所有已登录的用户开放 rack-mini-profiler 统计结果 at February 13, 2016

    存在安全问题,又关掉了

  • Ruby China 官方 iOS 客户端已发布上线 at February 05, 2016

    #10 楼 @shell 效率很低啦,半年了才出来,一直拖拉了很久,还有一些问题始终解不了,趁过年,现发布一个版本出来,这样也能激励自己继续完善

  • Ruby China 官方 iOS 客户端已发布上线 at February 04, 2016

    总体下来,我觉得 Ionic 写 App 不好,流畅度不如 Native 客户端,要不是 HTML 渲染 Navtie 的方式不好解决,才不会走这条路

  • 大家是怎么解决 “脖子疼” 这个问题的 at February 04, 2016

    #1 楼 @xiaoronglv 厉害

  • 大家来看看这个是 Rails 的 bug 吗? at February 04, 2016

    beta1 的时候我也遇到了一个 multiple radio buttons 生成的 field name 变成 array 了

  • 我昨天发的关于如何让异常抛出的帖子怎么被删除了 at February 03, 2016

    #6 楼 @rei Bug,应该是迁移 ActiveRecord 以后导致的

  • 我昨天发的关于如何让异常抛出的帖子怎么被删除了 at February 03, 2016

    #4 楼 @peter 一样的

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

    #9 楼 @kikyous 这里有很多细节,如果用户没有在一直盯着浏览器,直接加载出来是有问题的

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

    #7 楼 @kikyous 如果直接加载,有点突兀,所以改成提示了

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