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
  • 关于服务器上部署 rails 有没有人可以讲一下 at November 22, 2011

    http://ruby-china.org/wiki/deployment_rails

  • 关于服务器上部署 rails 有没有人可以讲一下 at November 22, 2011

    或许可以整理一片如何在 Ubuntu, CentOS 上面部署 Rails App 的 Wiki 页

  • centos 上安装问题,启动不了 WEBRick at November 22, 2011

    第一个问题。这个 turn 0.8.2 怎么弄出来?你得发 Gemfile 来看看,gem list 看不出什么的 第二个问题你的更具体描述

  • [上海][2011年11月22日] RubyTuesday 活动 at November 22, 2011

    #5 楼 @ytwman 好

  • [上海][2011年11月22日] RubyTuesday 活动 at November 22, 2011

    杭州都很久没搞过了

  • 上海有什么公司接受 Rails 新手吗 at November 22, 2011

    上海用 Ruby 的公司还是很多的

  • 给 Mongoid 加上 find_by_xxx 方法 at November 21, 2011

    #10 楼 @iwinux 其实有时候觉得 find_by_... 写起来别扭得很

  • 给 Mongoid 加上 find_by_xxx 方法 at November 21, 2011

    #5 楼 @hooopo 我是这样写的

    def find_by_id(id)
      where(:_id => id).first
    end
    
  • 给 Mongoid 加上 find_by_xxx 方法 at November 21, 2011

    #2 楼 @hooopo find_by_id 还是需要搞一个的,因为 Model.find 如果没有会出 DocumentNotFound 的异常,需要写个 find_by_id 的方法来不抛出异常

  • Ruby-China.org 选择用 Thin 还是 Unicorn? at November 21, 2011

    top 就可以看到了

  • RubyConfChina 2011: 松本行弘谈 Ruby at November 21, 2011

    #5 楼 @Rei 可以啊

  • 给 Mongoid 加上 find_by_xxx 方法 at November 21, 2011

    用了多久了?靠谱么?之前只是自己加了个 find_by_id 的方法

  • 关于2011年11月20日晚上宕机三小时 at November 21, 2011

    #13 楼 @changtimwu 看起来这个稳定的问题确实会让很多人走掉啊

  • RubyConfChina 2011: 松本行弘谈 Ruby at November 21, 2011

    #3 楼 @lgn21st 部分 Markdown 倒是可以,比如 有序,无序列表,连接,加粗,倾斜,下划线

  • 文件编码转换与中文路径的那些事儿 at November 21, 2011

    #3 楼 @john1king 其实也不一定买 Mac 啊,可以用 Linux,反正不要在 Windows 上面搞,这样你会话很多时间去调一些完全没有必要的问题

  • RubyConfChina 2011: 松本行弘谈 Ruby at November 21, 2011

    #1 楼 @lgn21st 哈哈,论坛里面没有 Markdown,只是又 auto_link 的

  • 关于服务器上部署 rails 有没有人可以讲一下 at November 21, 2011

    #7 楼 @KennX 是的,我在杭州

  • 关于2011年11月20日晚上宕机三小时 at November 21, 2011

    今晚我把数据库移出到 VPS 里面跑吧,这样至少会稳定很多,目前宕机都是 MongoIC 引起的。

  • 关于服务器上部署 rails 有没有人可以讲一下 at November 21, 2011

    我现在喜欢用 Thin 来部署,Passenger 和 Nginx 靠得太紧密,带来很多不便

  • 关于2011年11月20日晚上宕机三小时 at November 21, 2011

    #6 楼 @Los 我看该考虑展示将 MongoDB 移出来自己管理了

  • 文件编码转换与中文路径的那些事儿 at November 21, 2011
    1. 别用中文路径(怎么可能用中文路径呢!?)
    2. 别在 Windows 下面搞(这事儿我反复说过很多次了)
    3. 文件存档都用 UTF-8 编码
  • 缓存问题:话题相关页面 可能 半个小时内没有热门节点 at November 21, 2011

    别跑题嘛,说那个临界点的问题啊

  • 缓存问题:话题相关页面 可能 半个小时内没有热门节点 at November 20, 2011

    #2 楼 @zhangyuan 别陷入这个场景啊,有些场景在 Controller 里面是已经取得数据了的

  • Ruby 版本选择的纠结 at November 20, 2011

    Matz 在 RubyConfChina 上面说过,“你该用 1.9.2 了”

  • 缓存问题:话题相关页面 可能 半个小时内没有热门节点 at November 20, 2011

    这个问题之前我都没太注意,不知 Rails 内部机制是否又对这种情况做过处理,翻看了一下 Rails 源代码,没有发现有关的处理,但是从之前的一些实际项目情况来看,这种写法是可以的 不知有人是否知道具体情况

  • 现在可以发布代码了,用 ``` ``` 包起来 at November 20, 2011

    #9 楼 @zhangyuan 由于目前格式化的内容没有做 cache 的,如果加上语法高亮的话,必然会带来效率的问题

  • 有在生产环境开启 http streaming 的没? at November 20, 2011

    #10 楼 @hooopo 哦,你说的是反向代理是 1.0 我搞错

  • 有在生产环境开启 http streaming 的没? at November 20, 2011

    #8 楼 @hooopo 两个都是 http 1.1 的

  • Ruby-China.org 选择用 Thin 还是 Unicorn? at November 19, 2011

    #26 楼 @blankyao 暂时有问题,正在想办法解决

  • 有在生产环境开启 http streaming 的没? at November 19, 2011

    #6 楼 @hooopo 刚才调整了一下,现在有了,反向代理的也有

    $ curl -i http://ruby-china.org/topics            
    HTTP/1.1 200 OK
    Server: nginx/1.1.6
    Date: Sat, 19 Nov 2011 15:49:25 GMT
    Content-Type: text/html; charset=utf-8
    Transfer-Encoding: chunked
    Connection: keep-alive
    Status: 200 OK
    X-UA-Compatible: IE=Edge,chrome=1
    ETag: "4a7b928194df0740e1f6732028082462"
    Cache-Control: max-age=0, private, must-revalidate
    Set-Cookie: _homeland_session=....
    X-Runtime: 0.348755
    X-Rack-Cache: miss
    
  • Prev
  • 1
  • 2
  • …
  • 258
  • 259
  • 260
  • 261
  • 262
  • …
  • 264
  • 265
  • Next
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English