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
  • 怎样只用 friendly_id,禁用主键 id at August 24, 2015

    Rails 里面正确用法应该用 to_param

    http://api.rubyonrails.org/classes/ActiveRecord/Integration.html#method-i-to_param

  • gem install pg 遇到的问题 at August 24, 2015

    https://ruby-china.org/markdown 另外,请不要重复发帖,基于原帖修改,然后 @ 管理员

  • [上海] Ekohe 招聘 Ruby on Rails / iOS / Android / 前端 工程师 (10K-15K 起) at August 24, 2015

    排版请按 Ruby China 的 Markdown 格式要求,具体请认真阅读:排版指导,并参考 这篇招聘 的排版;

  • 帖子管理建议 at August 24, 2015

    其实也是可以的,我不太喜欢大家在标题上加“已解决”几个字,看起来乱

    但问题来了,“结贴”只是一个标记吗?容易误解成关闭回复

  • [广州] (外资) 诺特软件 诚招 Ruby 技术顾问 1 人,Ruby 开发工程师 3 人 at August 21, 2015

    排版请按 Ruby China 的 Markdown 格式要求,具体请认真阅读:排版指导 ,并参考 这篇招聘 的排版;

  • 大家平常是怎么更新表字段 at August 20, 2015

    那你用 SQL 来跟新表结构,一样会锁表啊!

    真正到了那些会锁表的情况(上几百万行的数据的表)一般都是手工处理表结构,而不是用 Migration 了,Rails Migration 适用于中小型数据的场景,便于开发者多个本地服务器之间统一表结构,也能在绝大多数生产环境,数据量巨大的场景的表结构变动上面用。

  • 使用 4.2 的 active_job 和 Sidekiq,但是不工作 at August 20, 2015

    sidekiq 启动需要告知那些 queue 分类需要执行,注意 -q 参数

    $ sidekiq -h
    2015-08-20T02:03:58.993Z 22623 TID-ov0q33mxs INFO: sidekiq [options]
        -c, --concurrency INT            processor threads to use
        -d, --daemon                     Daemonize process
        -e, --environment ENV            Application environment
        -g, --tag TAG                    Process tag for procline
        -i, --index INT                  unique process index on this machine
        -q, --queue QUEUE[,WEIGHT]       Queues to process with optional weights
        -r, --require [PATH|DIR]         Location of Rails application with workers or file to require
        -t, --timeout NUM                Shutdown timeout
        -v, --verbose                    Print more verbose output
        -C, --config PATH                path to YAML config file
        -L, --logfile PATH               path to writable logfile
        -P, --pidfile PATH               path to pidfile
        -V, --version                    Print version and exit
        -h, --help                       Show help
    
    
  • Rails Server 内存随着访问量不断增加,但是当访问量降下来的时候,内存并没有释放。 at August 19, 2015

    #5 楼 @tangmonk 什么版本 Ruby, Rails 内存跑到多少了

  • Rails Server 内存随着访问量不断增加,但是当访问量降下来的时候,内存并没有释放。 at August 19, 2015

    启动起来 170m, 然后稳定在 210m 左右,这是正常的,因为有运行时的常量创建。 不要感觉,那都是代码的问题。

  • Rails Server 内存随着访问量不断增加,但是当访问量降下来的时候,内存并没有释放。 at August 19, 2015

    内存泄露了,检查程序,使用的 Gem

    Ruby China 的线上服务连续跑了 6 天,内存一直稳定在 210m 左右一个进程

  • Rails 4-2-stable 参考手册 (Beta) at August 17, 2015

    再举例:并不是所有应用服务器 (例如默认的 Webkit) 都支持此特性。

    这里有错误,应该是 webrick 吧?

  • 问题:在本地运行 Ruby-China,一直不停地报如下错误 at August 12, 2015

    因为跑 rails s 的 App Server 不支持

  • Heroku cname 绑定根域名时和 MX 邮箱的设置相冲突 at August 12, 2015

    换了 DNS 服务商就有了

  • Heroku cname 绑定根域名时和 MX 邮箱的设置相冲突 at August 12, 2015
    1. DNS 换到 dnspod.cn
    2. 显示 URL 这个不能解决你的需求,这是实现 URL Redirect 的;
    3. 能 CNAME 和 MX 共存的,Ruby China 的域名就有这么配置;
  • Rails 在 production 环境下无法有 Bootstrap 效果,求解! at August 12, 2015

    直接 NoPoint 了,楼主上面已经告诉你解决方案了

  • Rails 到底该选择什么 server at August 12, 2015

    #38 楼 @lgn21st 可以啊,你来部署试一下

    其实我是一直不喜欢 Passenger 就是要和 Nginx 一起编译,standalone 方式的还能接受。

  • [炒冷饭] Rails 进程监视,你的选择是? at August 12, 2015

    Rails App Server 进程不需要监视,不会挂,另外 Uncorn Puma 之类的 Master 进程本身有进程保护的。

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