Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
李华顺
@huacnlee
管理员
第 2 位会员 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
502 篇帖子 / 9059 条回帖
960 关注者
53 正在关注
105 收藏
打赏作者
GitHub Public Repos
  • autocorrect 1421

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

  • rails-settings-cached 1106

    Global settings for your Rails application.

  • rucaptcha 696

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

  • zed-theme-macos-classic 98

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

  • vscode-macos-classic.t... 22

    macOS Classic theme for Visual Studio Code

  • zed-extension-action 20

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

  • autocorrect-action 11

    GitHub action for use AutoCorrect as lint

  • color-lsp 7

    A document color language server.

  • zed-autocorrect 6

    AutoCorrect for Zed

  • gpui-workspace 5

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

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 者也挂了? at 2012年01月09日

    没地方部署了

  • RSpec 2.8 发布了, 速度快了 45% at 2012年01月09日

    #4 楼 @ashchan 启动慢估计和 rmmseg-cpp 有关,会加载词库,空了我在检查检查

  • 在 Rails 中做代码高亮,只能依赖 Pygments 这个 Python 写的东东吗? at 2012年01月09日

    我喜欢服务端的原因是因为可以选择 cache 下来,比如目前 Wiki 里面的 Markdown 结果就是直接以 HTML 存放的,读取的时候前后端都不需要运算了

  • rails application 在 server 上的部署? at 2012年01月09日

    我现在倒是觉得 Passenger 部署麻烦,还是 Thin 简单些

  • 在 Rails 中做代码高亮,只能依赖 Pygments 这个 Python 写的东东吗? at 2012年01月09日

    #21 楼 @Rei 哇,还有这个东西,太爽了

  • 把我安装 ruby-china 的详细步骤发上来,寻求问题解决 at 2012年01月09日

    #35 楼 @suffering 注意仔细看错误提示一般就能发现问题所在

  • 最近没啥活动嘛~ at 2012年01月09日

    过年了,都没心思了,开了年再说

  • has_many,根据关联的数量排序! at 2012年01月09日

    #9 楼 @stephen 我那个方法就是正确的途径 #8 楼 @Rei ^_^

  • 把我安装 ruby-china 的详细步骤发上来,寻求问题解决 at 2012年01月09日

    #31 楼 @suffering Failed to connect to a master node at 127.0.0.1:27017 (Mongo::ConnectionFailure) MongoDB 没有启动

  • 在 Rails 中做代码高亮,只能依赖 Pygments 这个 Python 写的东东吗? at 2012年01月09日

    #18 楼 @tualatrix Ruby 调用 Pygments 简单的方式就是调用 Shell 不过 ruby-china 不是这样做的,用了 pygments.rb 这个 Gem,它是将 Python 签入到 Ruby 里面的(这个我的猜测) https://github.com/tmm1/pygments.rb

  • 在 Rails 中做代码高亮,只能依赖 Pygments 这个 Python 写的东东吗? at 2012年01月09日

    #18 楼 @tualatrix 你要加入 Ruby 社区,那就太有说头了

  • has_many,根据关联的数量排序! at 2012年01月09日
    class Post
      include Mongoid::Document
    
      belongs_to :user, :counter_cache => true
    end
    
    class User
      include Mongoid::Document
    
      field :posts_count, :type => Integer
      has_many :posts
    
      index :posts_count
    
      # 文章多的用户倒序排列
      scope :hot, desc(:posts_count)
    end
    
    @hot_users = User.hot.limit(10)
    

    这是 Mongoid 的写法,ActiveRecord 类似,转换一下就好了。

  • RSpec 2.8 发布了, 速度快了 45% at 2012年01月09日

    试试

  • 在 Rails 中做代码高亮,只能依赖 Pygments 这个 Python 写的东东吗? at 2012年01月09日

    Pygments 挺好的啊,何必纠结呢

  • 求推荐个好用的图表生成组件 at 2012年01月09日

    楼上两个都很赞!我试试看

  • Rails 有比较好的验证码插件么? at 2012年01月09日

    我之前的几个项目是用这个: https://github.com/huacnlee/captcha 但是我发现被人破解了 没被破解,之前的漏洞是微博登陆导致的。

  • gem 安装 rvm at 2012年01月09日

    RVM 能用 Gem 来安装? 关于 RVM 看 WIKI http://ruby-china.org/wiki/rvm-guide

  • 提问要有方法 at 2012年01月09日

    #4 楼 @niedhui 说错了,是 1 楼

  • 前台的 views helper 到底慢不慢? at 2012年01月09日

    不慢,从 ruby-china 的使用来看,这些 Helper 不是问题

  • 者也挂了? at 2012年01月09日

    你们还在上啊,我都准备要关了

  • ruby-china 源代码管理员账号是什么? at 2012年01月09日

    你的版本问题

    ~ ‹ruby-1.9.2›  $ thin -v
    thin 1.3.1 codename Triple Espresso
    
  • 继 Twitter 发布 Bootstrap 之后,Facebook 的 bootstrapp 也有了 at 2012年01月09日

    这个明显是基于 Twitter Bootstrap 改过去的,而且很多地方细节不够好

  • 这个 ruby-china 安装是缺少某个插件吗? at 2012年01月09日

    To 楼主,那个 delopy.rb 是在我们特定的环境特定的用户下面才能用的,你们部署就只是参考一下直接用当然不行

  • 这个 ruby-china 安装是缺少某个插件吗? at 2012年01月09日

    #4 楼 @Rei 第一次的时候要手工建立那列目录和文件

  • ruby-china 源代码管理员账号是什么? at 2012年01月08日

    #8 楼 @yfeng 看 #2 楼 啊!

  • [杭州] 淘宝招聘 Ruby 开发工程师 at 2012年01月06日

    我擦,楼上上个你们自己开个帖子吧,干嘛来搭车啊!

  • ruby-china 源代码管理员账号是什么? at 2012年01月06日

    #6 楼 @yfeng 没权限啊

  • 咱也来做个 Gem-"印象码"视频验证码 at 2012年01月06日

    #15 楼 @Saito 受教了

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