Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Rei
@Rei
Admin
NO. 1 / 2011-10-28

[email protected]
深圳
188 Topics / 9152 Replies
730 Followers
0 Following
11 Favorites
中下水平 Rails 程序员
Reward
GitHub Public Repos
  • writings 941

    [Closed] Source code of writings.io

  • alipay 732

    Unofficial alipay ruby gem

  • code_campo 291

    [Closed] Source code of http://codecampo.com

  • asciidoctor-pdf-cjk-ka... 101

    **no longer maintained**

  • asciidoctor-htmlbook 31

    Asciidoctor HTMLBook is an Asciidoctor backend for converting AsciiDoc documents to HTMLBook docu...

  • material-ui 17

  • geeknote 15

  • rich-text-editor 12

  • htmlrenderer 12

  • rails-chatgpt-demo 8

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 中文互联网有没有类似 ROT13 这样的东西? at March 09, 2015

    佛曰:那爍闍奢老離哆等菩寫俱僧俱室侄耶輸皤亦俱亦麼。

    http://www.keyfc.net/bbs/tools/tudoucode.aspx

  • 如何在服务器上启动或重启 Puma 服务 at March 08, 2015

    进入部署目录 bundle exec pumactl

  • CSDN 论坛不是用 Ruby 写的吧? at March 07, 2015

    #4 楼 @mogodb 还有 Javascript/HTML/CSS。

  • CSDN 论坛不是用 Ruby 写的吧? at March 07, 2015

    #2 楼 @mogodb 主站和论坛不是同一个程序。

  • CSDN 论坛不是用 Ruby 写的吧? at March 07, 2015

    是 Ruby,我参与了开发。

  • Cookpad - 可能是世界上最大的 Rails 单一应用 at March 06, 2015

    #12 楼 @treasurelife 👍 Test LOC: 0

  • 对 git 的分支还没理解到位 at March 06, 2015

    Git 是个很抽象的系统,需要系统的学习 http://git-scm.com/book/zh/v1

  • 对 git 的分支还没理解到位 at March 06, 2015

    回到 master 分支上就可以撤销 A 分支里做的任何本地 修改?

    是的。

  • 如何在服务器上启动或重启 Puma 服务 at March 06, 2015

    你应该把 README 从头到尾看一次 https://github.com/puma/puma

  • 如何在服务器上启动或重启 Puma 服务 at March 06, 2015

    奥,最直接的登录 ssh 管理应该用 7 楼的方法。

  • 如何在服务器上启动或重启 Puma 服务 at March 06, 2015

    #4 楼 @QueXuQ 后半句我看不懂。

  • Cookpad - 可能是世界上最大的 Rails 单一应用 at March 06, 2015

    #10 楼 @peter 拆分了代码会更多,维护的人更多,但是可能好维护一点。

    我的意思是,功能太多,代码量太大了,不明白一个菜谱社交网站为什么会有这么多功能。

  • Cookpad - 可能是世界上最大的 Rails 单一应用 at March 06, 2015

    虽然很厉害,但是太大了。

  • 如何在服务器上启动或重启 Puma 服务 at March 06, 2015

    用 Foreman 在生产环境中管理和监控进程 http://chloerei.com/2014/12/15/foreman/

  • 新手求助,关于 has_secure_password at March 06, 2015

    贴错误日志。

  • 如何限制文章的评论个数? at March 06, 2015
    1. 校验应该写成 validation 而不是 callback
    2. 跨模型的逻辑我倾向写在 Controller。
  • [调查] 2015年 你会选 Angular.js 还是 Ember.js 呢? at March 06, 2015

    还没遇到必须用前端框架的需求,隔岸观火中。

  • Ruby support in Firefox Developer Edition 38 at March 06, 2015

    #5 楼 @Martin91 日文比较需要。

  • rails 中类变量的问题 at March 05, 2015

    @@ACCESS_TOKEN 和 @@JS_API_TICKET 哪里来的,明显要看这两个东西怎么设置的啊。

  • rails 中类变量的问题 at March 05, 2015

    一个问题别开两贴。

  • 如何解决测试代码重复的问题? at March 05, 2015

    #9 楼 @cuterxy 如果是 Test::Unit 的话不用,这两个是同一作用域的实例方法。Rspec 我不熟悉。

  • 利用 GFW 屏蔽网站 at March 05, 2015

    跟掩耳盗铃同理。

  • 如何解决测试代码重复的问题? at March 05, 2015

    在 Test::Unit 可以这样提取常用断言:

    def assert_foobar(options)
      do_something options
      yield # if use block
      assert condition_one
      assert condition_two
    end
    
    test "case" do
      assert_foobar(options) do
        # code here
      end
    end
    

    Rspec 好像叫 Custom Matchers 吧,我觉得没有 Test::Unit plain Ruby 语法直观。

  • 如何解决测试代码重复的问题? at March 05, 2015

    #5 楼 @cuterxy 写到 after 行不行?

    这两句太简单我觉得不用简化。

  • [Teaser] #145: DHH on Rails as an API Server in Rails 5 at March 05, 2015

    现在就可以做 API Server 啊。

  • input 居然跑到 form 外面去了?为什么?请前辈们指点迷津! at March 04, 2015

    这种情况逐步删代码,确定是哪一部分出问题。

  • rails 中类变量的问题 at March 04, 2015

    #13 楼 @macknight

    终端 A 和终端 B 是两个进程。

    rails s 是一个进程。

    你试试 rails s -p 3000 和 rails s -p 4000,3000 和 4000 端口的两个网页是不是同一个值?

  • Scaffold 产生的 Controller 怎么跟模板不一样? at March 04, 2015

    master 分支已经往 5.0 去了。

  • Scaffold 产生的 Controller 怎么跟模板不一样? at March 04, 2015

    #2 楼 @peter 4.2 和 4.1 是不一样的,和 4.1!

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