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

[email protected]
长桥证券 (Longbridge)
成都
502 篇帖子 / 9058 条回帖
959 关注者
53 正在关注
105 收藏
打赏作者
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
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Ruby China 客户端发布 at 2012年03月14日

    #10 楼 @ashchan 嗯

    1. 现在如果 token 被截获,那就悲剧;
    2. 有机器人发帖的风险
  • Ruby China 客户端发布 at 2012年03月14日

    才想起,目前的 token 方式有安全问题...

  • 测试从 Ruby China 客户端发帖 at 2012年03月14日

    哈,一会 试试

  • [杭州][2012-03-13] Ruby Tuesday 活动公告 (并求主题) at 2012年03月13日

    在路上了。

  • 问一个 helper 的写法 at 2012年03月13日

    你应该在 application.html.erb 的 block_name 这段这样写

    <%= yield :block_name || render(:partial => "block_name_default") %>
    
    
  • 一般都会为资源站点用单独的域名,这种域名怎么备案啊? at 2012年03月13日

    和主站一起,如果是二级域名就不用了

  • [杭州][2012-03-13] Ruby Tuesday 活动公告 (并求主题) at 2012年03月13日

    主题就你们出吧!

  • 你的工作就是你的兴趣?有利有弊啊 at 2012年03月12日

    #9 楼 @ywencn 牛逼啊,我也试试。

  • 听朋友说 Android 会越来越火…… at 2012年03月12日

    #8 楼 @azhao 哈哈哈

  • 有没有开源的 “图片服务器 / 资源服务器”? at 2012年03月12日

    之前还出过一个诸多系统的对比图,忘了在那里了。

  • 有没有开源的 “图片服务器 / 资源服务器”? at 2012年03月12日
    • MogileFS
    • GridFS

    求补充

  • form_tag 里面如何让两个 button 分别提交到不同的控制器 at 2012年03月12日

    放个 hidden field 提交前根据按钮来更改这个 hidden field 的内容,比如这样:

    <input id="submit_type" name="type" type="hidden" value="save" />
    <button type="submit" onclick="return submit('save');">保存</button>
    <button type="submit" onclick="return submit('draft');">保为草稿</button>
    <script type="text/javascript">
    function submit(withType){
      $("#submit_type").val(withType);
    }
    </script> 
    
  • Devise 如何将更新密码和更新用户个人信息分开? at 2012年03月12日

    覆盖 update_with_password 方法:

    def update_with_password(params={})
      if !params[:current_password].blank? or !params[:password].blank? or !params[:password_confirmation].blank?
        super
      else
        params.delete(:current_password)
        self.update_without_password(params)
      end
    end
    
    
  • 求推荐支持 hierarchy model 的 gem at 2012年03月12日

    楼主单词用错啦 categorys -> categories

  • 建议增加 “用户最近活动” 的功能 at 2012年03月12日

    实在是没有意义,我从来都不喜欢 Discuz 这类论坛,存在太多没有意义的功能。 比如被滥用的回帖才能看附加,搞出很多的回复,那又能怎样,一切都是假象。

  • 发觉这里很多人用 Devise,谁能分享比较 Devise 和 Sorcery at 2012年03月12日

    Devise 很多时候让人不爽,socery 还没用过,那天试试。

  • Mac OS X 10.7.3 安装 Rails 出错,求助 at 2012年03月11日

    @Standme Xcode 里面的 Developer Tools 安装了没有?

  • So, this is Ryan 哈哈 at 2012年03月11日

    #5 楼 @poshboytl 此人很牛逼,很面善

  • Mac OS X 10.7.3 安装 Rails 出错,求助 at 2012年03月11日

    哎,很久没看那个 Wiki 都被其他人改乱了。我撤销回去了,在重新按照教程来一次。

  • Mac OS X 10.7.3 安装 Rails 出错,求助 at 2012年03月11日

    #11 楼 @Standme 你明显就不是按照教程来的,教程上面那里有写 sudo rvm install ...?

  • Mac OS X 10.7.3 安装 Rails 出错,求助 at 2012年03月11日

    #8 楼 @Standme 用 RVM 装 Ruby,然后就可以不用 sudo 安装了。

  • 问:搜索里面提供热门搜索关键字,是否有相应的 gem 可以实现? at 2012年03月10日

    一楼正解

  • MongoIC 蛋疼的性能 at 2012年03月10日

    100 多也是不正常啊

  • curl: (7) couldn't connect to host at 2012年03月10日

    开个玩笑,连接失败是由于 ruby 镜像服务不太稳定的原因。

  • curl: (7) couldn't connect to host at 2012年03月10日

    这都搞不定,你还用 _why 这个名字。

  • 有关自动补全 (auto complete) 与输入片段 (snippet), 用过 textmate 的进来下~ at 2012年03月09日

    没有必要列出来,Esc 的瞬间是很快的,比你还手按上下来的快。

  • ruby-china.org 如何备的案?好像备案官方网站没法注册了?想迁移到盛大云,备案搞不懂。。 at 2012年03月09日

    备案号没必要放出来的

  • 有关自动补全 (auto complete) 与输入片段 (snippet), 用过 textmate 的进来下~ at 2012年03月09日

    楼主头像很像毛老头年轻的照片。

  • 有关自动补全 (auto complete) 与输入片段 (snippet), 用过 textmate 的进来下~ at 2012年03月09日

    TextMate 是按 Esc 匹配文件里面有的单词。

  • 怎样让某个 rake 任务在 CentOS 后台跑 at 2012年03月09日

    nohup rake resque:work &

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