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

[email protected]
深圳
182 Topics / 9132 Replies
727 Followers
0 Following
11 Favorites
中下水平 Rails 程序员
Reward
GitHub Public Repos
  • writings 940

    [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

  • rich-text-editor 12

  • htmlrenderer 12

  • rails-chatgpt-demo 8

  • rails-app 7

    A Rails project template lets me start new projects quickly.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • js 中修改 data-method 无效么? at March 15, 2015

    试用 attr('method', 'post')

  • 做 Ajax 测试时遇到的问题 at March 14, 2015

    Rails Test 本身是包在事务中的,每个 case 后回滚,不需要 DatabaseCleaner 吧?

  • 定义方法后面加 “=”,意义是什么? at March 13, 2015

    楼主没有清楚表达他不明白哪一点,所以回复的人从 Ruby 基础到架构设计都回答了一轮,然后楼主觉得哇怎么这么深奥。

  • "中级 Ruby 工程师"都在做什么? at March 12, 2015

    初级 - 工资比中级低 中级 - 工资比高级低 高级 - 工资比 CTO 低 CTO - 拿着股份顶工资

  • 电脑崩盘引发感慨 at March 12, 2015

    Dropbox 邀请链接

    https://db.tt/tdIsTDAm

    对于加入 Dropbox 并在电脑上安装 Dropbox 的每位朋友,我们会同时为您和这位朋友提供 500 MB 的额外奖励空间(最高上限可达 16 GB)!

  • 为支持移动端离线模式-数据库采用 UUID 字段 at March 12, 2015

    Backbone.js 有类似机制,区分 id 和 client id http://backbonejs.org/#Model-id

    id model.id A special property of models, the id is an arbitrary string (integer id or UUID). If you set the id in the attributes hash, it will be copied onto the model as a direct property. Models can be retrieved by id from collections, and the id is used to generate model URLs by default.

    cid model.cid A special property of models, the cid or client id is a unique identifier automatically assigned to all models when they're first created. Client ids are handy when the model has not yet been saved to the server, and does not yet have its eventual true id, but already needs to be visible in the UI.

  • "中级 Ruby 工程师"都在做什么? at March 12, 2015

    直接去看这个公司在做什么项目。

  • Rails 4.2 版本,执行 rails new project 后一直卡在 run bundle install 那里 at March 11, 2015

    Ctrl-C 中止 bundle,cd 到项目目录,执行 bundle --verbose,如果是卡在网络就翻墙。不是的话贴日志上来。

  • 我喜欢酱紫的 Hash at March 11, 2015
    options =                                         {
      url: "注意!结尾必须写逗号"                         ,
      host: "如果不写逗号,那么会报错"                      ,
      customer:                                       {
        name: "逗号很小, 不明显, 不小心删掉了,都很难发现"    ,
        number: "结尾还有很多括号, 好崩溃呀"               ,
        bills:                                        [{
          number: "苦逼", memo: "苦逼苦逼苦逼苦逼"       },{
          number: "苦逼", memo: "苦逼苦逼苦逼苦逼"       },{
          number: "苦逼", memo: "苦逼苦逼苦逼苦逼"       },]},}
    
  • 怎么设置一个页面编辑完成后跳转的地址? at March 10, 2015

    #6 楼 @gsky 奥,我想明白了。

    get 'factor' => 'factors#new'
    

    这条路由生成了 factor_path 这个命名路由,跟 resources :factor 的单数形式路由冲突了。

  • ubuntu 切换到 systemd 了,以后可以用 systemd 来管理 rails 进程 at March 10, 2015
    foreman export systemd
    

    http://chloerei.com/2014/12/15/foreman/

  • 怎么设置一个页面编辑完成后跳转的地址? at March 10, 2015

    因为报错的地方是 PATCH 方法,我估计 form 表单的 url 不正确,但我不确定是什么原因引起的,试试去掉 route 里面这行:

    get 'factor' => 'factors#new'
    
  • 怎么设置一个页面编辑完成后跳转的地址? at March 10, 2015

    rake routes | grep factor 看看,还有路由代码。

  • 怎么设置一个页面编辑完成后跳转的地址? at March 10, 2015

    贴一下表单代码

  • [调查] 2015年 你会选 Angular.js 还是 Ember.js 呢? at March 10, 2015

    #38 楼 @mogodb 不要发垃圾信息,发帖前先过脑子

  • 中文互联网有没有类似 ROT13 这样的东西? at March 09, 2015

    #3 楼 @jex 加密后的填到下面的输入框。

  • 中文互联网有没有类似 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/

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