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 中 SiteConfig 的问题。 at 2012年02月16日

    #3 楼 @tassandar 里面也就是这样:

    def fetch(key,&block)
      if not value = cache.get(key)
        value = yield
        cache.write(key,value)
      end
    end
    
  • Linux Deepin 深度 linux 让人眼前一亮啊 at 2012年02月16日

    其实也就那样

  • Rails route 匹配的问题 at 2012年02月16日

    #4 楼 @tualatrix 哦,我看错了...

  • 请教一下~关于 ruby-china 中 SiteConfig 的问题。 at 2012年02月16日
    1. 这段代码有问题的,其实是多余的,之前是直接 Copy 一个设置组件的类似代码来实现 MongoDb 下面的配置信息功能。
    2. 这个地方就是这么写的啊
    3. method 这里就算不 .to_s 到了 Mongoid 那里也会 to_s 的,当然应该 to_s 一下才清楚。
  • 你现在正在用的 vim 配色方案是神马.. at 2012年02月16日

    #1 楼 @Rei Slim 这个不错。 突然发现,我这太电脑上面没 MacVim 了... 我以前一直是用 Mac Classic

  • Rails 3.1 的 assets 该如何安排? at 2012年02月16日

    我的做法是:项目自己写的放 app/assets,三方的放 vendor/assets

  • Rails 3.2.1 生产环境下出问题了 at 2012年02月16日

    你的和是手写上去的吧! <p>你有在用 <code>stylesheets_link_tag</code> 和 <code>javascript_include_tag</code> 吗?</p> <div class="highlight"><pre class="highlight erb"><code><span class="cp">&lt;%=</span> <span class="n">stylesheets_link_tag</span><span class="p">(</span><span class="s2">"bootstrap"</span><span class="p">)</span> <span class="cp">%&gt;</span> <span class="cp">&lt;%=</span> <span class="n">javascript_include_tag</span><span class="p">(</span><span class="s2">"application"</span><span class="p">)</span> <span class="cp">%&gt;</span> </code></pre></div> <p>BTW. Rails 3.1 以后,CSS,JS 已经到 <code>/assets/</code> 目录下面了。</p>

  • Rails route 匹配的问题 at 2012年02月16日

    :id 可以支持字母这个很多时候用起来很爽的

  • 使用 vim 的大神们,开发 rails,一般用什么代码片段、代码补全插件? at 2012年02月16日

    我从来不用这类插件,Vim 自带的根据 Buffer 内容来时间完成提示 Ctrl+p 和 Ctrl+P 已经足够了。其他的插件总是不完善,或者不流畅。

  • Rails 在生产环境中 log 的产生问题 at 2012年02月16日

    好奇,以前没这个功能的时候 log 写入应该会成为瓶颈啊。

  • 大家读写 Excel 都用 spreadsheet 这个插件吗? at 2012年02月16日

    我还从没做过这个功能

  • 大家怎么写 ruby 1.9 的 encoding 文件头? at 2012年02月16日

    一直用 # coding: utf-8 手工加,习惯了。

  • Rails 在生产环境中 log 的产生问题 at 2012年02月16日

    3.2 吧,log 写入是有延迟的。

  • 庆祝社区人数突破 1000!!! at 2012年02月15日

    @poshboytl 听你这么一说,我现在才明白,#43 楼 @lgn21st 的意思...

  • Godaddy 果然强大 at 2012年02月15日

    好歹国内的不会给你搞些陷阱

  • Godaddy 果然强大 at 2012年02月15日

    Godaddy 是骗的钱太多了,花不完

  • 大家把应用从 development 发布到 product,有没有遇到过问题吗? at 2012年02月14日

    #6 楼 @bryanwong 这个环境变量在开发环境设置了吗?

  • 大家把应用从 development 发布到 product,有没有遇到过问题吗? at 2012年02月14日

    db_name must be a string or symbol 数据库名称必须用字符串或者符号 #4 楼 没看明白。

  • 可以直接通过固定 ip 访问云主机吗? at 2012年02月14日

    可以的,不过 1 个 IP,一天 1 块钱

  • 大家把应用从 development 发布到 product,有没有遇到过问题吗? at 2012年02月14日

    把 Omniauth 的配置发出来看看

  • 大家来分析下各种云的价格 at 2012年02月14日

    MongoIC 我一直不敢用,希望可以尽快步入稳定 这些主机的计费方式我也看不明白,只有用过以后才知道。

  • 忘记密码功能有错误 at 2012年02月14日

    额,sendmail 不行,等另外找时间修复一下。

  • 忘记密码功能有错误 at 2012年02月14日

    现在修好了,这边的问题是 SES 的 SSL 请求无法在盛大云上面通过,目前这个 Ubuntu 版本 SSL 证书有问题。现在邮件发送改成了 sendmail

  • 阿里云存储的 Ruby 组件,基于 Carrierwave at 2012年02月14日

    @bony @poshboytl 不知道联系谁,所以没拿到赞助啊

  • 大家谈谈什么时候开始喜欢编程,开始编程的啊。。。 at 2012年02月14日

    高一开始,那个时候很崇拜我们一个老师,用 VB 写的软件。

  • 阿里云存储的 Ruby 组件,基于 Carrierwave at 2012年02月14日

    刚刚在内部项目上面切过去测试,一下就可以了。

  • 阿里云存储的 Ruby 组件,基于 Carrierwave at 2012年02月14日

    #1 楼 @nowazhu 试试看,或许可以在公司的项目上面用上,代替 TFS

  • 庆祝社区人数突破 1000!!! at 2012年02月13日

    @poshboytl 再一次跑题,我现在租的房子在 4 楼,买的房子在 14 楼,以前成都住的房子也是 14 楼...

  • 免费的 Rails 培训,会有人感兴趣吗? at 2012年02月13日

    @daqing 啥时候也来这边贡献点代码啊(那个键盘快捷键不错)移植过来吧

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