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
  • Ruby 4.0: To Infinity and Beyond at April 05, 2017

    你们没看明白,作者说这么久意思是大家可以试试 Crystal、Elixir、Scala 这类新的方案 😄

  • 是程序员还是软件工程师 at April 05, 2017

    我们应该都算 Web Developers

  • 有没有比较好的方法,去解析一个 block 里面的代码 at March 31, 2017

    研究 class_methods 的实现

  • 有没有比较好的方法,去解析一个 block 里面的代码 at March 31, 2017

    感觉是要在 Ruby 里面做解析器的事情了,有好多细节的,例如变量、Model 属性是否能取到这样的问题。

    为何不在函数里面使用 redis_cache 呀?无非就是多写几个而已,况且这样的做法也不是什么地方都适用,因此也不会需要些很多的。


    当然,你要说从研究实现的角度来看,这没问题,要这么用,我觉得有点过头了。


    貌似 Ruby 编写 DSL 是无法支持 def 这样的关键字的,所以好像还从没在 Ruby 社区里面见过可以实现做成你希望的:

    redis_cache do
      def foo
      end
    end
    

    哦,有一个 class_methods do; end http://api.rubyonrails.org/classes/ActiveSupport/Concern.html

  • gems.ruby-china.org 国内连不上? at March 30, 2017

    302 到 gems-ruby-china.b0.upaiyun.com 是正常的逻辑。

    然后不同那个可能得换点方式试试,看看会不会是其他问题导致的。

  • 使用 Ruby 的大伙,你们常用的其他程序语言是什么? at March 27, 2017

    Node.js Go Crystal

  • 请教一下关于 Rails 加载的问题 at March 24, 2017

    rails dev:cache

  • 账号问题 at March 24, 2017

    Orz 我看错了

    你要做的是登出,找回密码,修改密码,然后用 Email 的方式登陆而不是你 GitHub 登陆

  • 账号问题 at March 24, 2017

    你要那个,我可以帮你删除一个

  • 团队聊天工具,大家都用什么?Hipchat? 企业微信?还是 QQ? at March 23, 2017

    钉钉很好用的,真的

  • PostgreSQL 在 Mac 上有没有免费好用的客户端? at March 23, 2017

    Postico 好棒!这才是我想要的

  • PostgreSQL 在 Mac 上有没有免费好用的客户端? at March 23, 2017

    http://www.psequel.com

  • PostgreSQL 在 Mac 上有没有免费好用的客户端? at March 23, 2017

    不喜欢 Jetbrains 的东西,一个字“慢”

  • 为 Rails 项目搭建 Jenkins CI 服务器 at March 23, 2017

    用 Docker 部署一个 GitLab 和 GitLab CI 或许更简单、也更好用一些

  • [成都] OneStopWareHouse 招聘中级 Rails 全职 1 名 at March 23, 2017

    天府软件园 A 区对面 通威国际中心 楼上

  • Ruby 如何打出带圈的数字,如① at March 23, 2017

    土方法做个 Map 对应关系不就可以了?!

    numbers = %(零壹贰叁肆伍陆柒捌玖)
    puts numbers[0]
    puts numbers[1]
    puts numbers[2]
    
  • 强烈希望 Ruby China 的 Search 功能加个排序 at March 22, 2017

    不能那么改,现在搜索是根据关键词接近度来排序的

  • 请教一个 Nginx 异常日志问题。 at March 22, 2017

    那条你觉得有问题?

  • [Demo Day] A Graduation Party for Batch #61, Le Wagon Shanghai at March 22, 2017

    先修改好内容以后 @ 我,然后我给你放回去

  • 无法启动 puma at March 22, 2017

    错误信息不够详细,截图不够详细

    最好能贴相关代码

  • 无法启动 puma at March 22, 2017
    bundle: command not found
    
  • Ruby 文档怎么看? at March 22, 2017

    符号不好在搜索上搜,找熟人问吧

  • 今天在本地安装了 Homeland,遇到两个问题 at March 21, 2017

    可以调整顺序了

    https://github.com/ruby-china/homeland/commit/6443c5d8b591e70f25111a28566c5cfe12b36203

  • rails db:migrate 后,莫名出现以前删除过的数据库字段 at March 21, 2017

    你应该认真阅读理解 Rails Guides 里面 Migrations 的部分,里面有介绍正确的使用方法

    http://guides.ruby-china.org/active_record_migrations.html

  • Ruby China 可以访问的节点只有了” 社区”” 了吗 (移动版) at March 20, 2017

    https://github.com/ruby-china/homeland/commit/ebcd4356ef1135783a2096dac15785ac9cf1e730

    已解决

  • 今天在本地安装了 Homeland,遇到两个问题 at March 20, 2017

    第一个问题修复了

    https://github.com/ruby-china/homeland-wiki/commit/64c5207b3f667940002a55116e89bf421aec987e https://github.com/ruby-china/homeland/commit/7d77ab598cb05dc58682e55162e7d4771f2d1f45

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