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

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

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

  • rails-settings-cached 1098

    Global settings for your Rails application.

  • rucaptcha 695

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

  • zed-theme-macos-classic 91

    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 18

    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-gradient 5

    Generate a Gradient like CSS

  • gpui-workspace 4

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

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 头像图片是一串哈希字符 at 2013年05月27日

    https://github.com/ruby-china/ruby-china/commit/58dabcb09ebc598119be26d9ce6d1594f3f76eb9#config/config.yml.default

  • 头像图片是一串哈希字符 at 2013年05月27日

    #3 楼 @kennyworld 那就不行, /avatar 这个没在主程序的代码里面的,用 http://gravatar.com 代替

  • 头像图片是一串哈希字符 at 2013年05月27日

    //l.ruby-china.com/user/big_avatar/2.jpg

    http://ruby-china.org/avatar/f1515c6751f83ac098413e5245eb27ca.png?s=240&d=404 这个地址你能打开么?

    打不开就是你网络的问题

  • Rails route URL 中的带点的情况如何处理? at 2013年05月27日

    routes.rb

    resources :maps do
      collection do
        get :tag, constraints: { id: /[\w\d\.\-\_]+/i }
      end
    end
    
  • 写出来的站点界面太丑了怎么办…… at 2013年05月27日

    笑而不语

  • 你们都用哪些好用的 xcode plugin? at 2013年05月25日

    #8 楼 @Tony612 Xcode 裸奔

  • 夏天来了,今年还发 T 恤不? at 2013年05月25日

    去年是宽松的,今年换修身的吧 去年的现在成睡衣了

  • 夏天来了,今年还发 T 恤不? at 2013年05月25日

    要

  • 你们都用哪些好用的 xcode plugin? at 2013年05月24日

    不用,慢,或偶尔有 Bug

  • created_at updated_at / created_on updated_on at 2013年05月23日

    不建索引,哪怕你用数字型的日期也一样有问题

  • created_at updated_at / created_on updated_on at 2013年05月23日

    排序可以用 id 来搞

  • created_at updated_at / created_on updated_on at 2013年05月23日

    看不明白…

  • gem install jekyll 请问这个错误 instance of Date needs to have method `marshal_load' at 2013年05月23日

    今天同事也有同样的问题,我也尝试了一下发现,1.8.7 安装 jekyll 都会出现这个错误。 解决办法就是升级 Ruby 到 1.9.3+

  • paperclip gem 汉字显示问题 at 2013年05月23日

    不知道你怎么弄出来的


    不过上面那些是 URL Escape 过后的内容:

    irb> require "cgi"
    irb> CGI.unescape("%e7%bb%98%e5%9b%be3")
    => "绘图3"
    
  • 使用 mongoid_auto_inc 来为你的 mongoid 添加自增字段 at 2013年05月22日

    #14 楼 @tianshuai 不能

  • Flickr 有 1T 免费容量了,雅虎会不会因此而加速倒闭啊。 at 2013年05月22日

    就目前位置,依然没有可以代替并超越 Flickr 的产品,所以暂时还不会

  • The Open Source Report Card at 2013年05月21日

    有意思

  • 有人告诉我如果数据量大了就不能做分页了?是这样么? at 2013年05月21日

    #66 楼 @helloqidi 加 total_entries 参数

  • Faye 的问题 at 2013年05月21日

    #2 楼 @leopku ruby-china 的 Faye 是单独部署的

  • Mongoid 的数字型 id 在 Sunspot 报 InvalidObjectId at 2013年05月20日
    module Mongoid
      module Sunspot
        def self.included(base)
          base.class_eval do
            extend ::Sunspot::Rails::Searchable::ActsAsMethods
            ::Sunspot::Adapters::DataAccessor.register(DataAccessor, base)
            ::Sunspot::Adapters::InstanceAdapter.register(InstanceAdapter, base)
          end
        end
    
        class InstanceAdapter < ::Sunspot::Adapters::InstanceAdapter
          def id
            @instance.id
          end
        end
    
        class DataAccessor < ::Sunspot::Adapters::DataAccessor
          def load(id)
            criteria(id).first
          end
    
          def load_all(ids)
            criteria(ids)
          end
    
          private
    
          def criteria(id)
            @clazz.criteria.find(id)
          end
        end
      end
    end
    

    用这个替代 sunspot_mongoid

  • imax.im 不能用了,大家可有其他类似的网站下载电影 at 2013年05月19日

    https://chrome.google.com/webstore/detail/imaxim/hgfiiccedfaplijbeeimfiekemeplofo?hl=zh-CN

  • imax.im 不能用了,大家可有其他类似的网站下载电影 at 2013年05月19日

    装 Chrome 插件

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