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

[email protected]
深圳
182 Topics / 9130 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
  • 最近在研究 rei 开源的一个小项目遇到一个小问题 at January 07, 2016

    http://lmgtfy.com/?q=current_time_from_proper_timezone

  • Ruby China 开发环境 (Vagrant) 安裝問題 at January 06, 2016

    PPA 的 2.3 没有 12.04 的包……

  • Ruby China 开发环境 (Vagrant) 安裝問題 at January 06, 2016

    现在的 bin/setup 有问题。

  • Ruby China 开发环境 (Vagrant) 安裝問題 at January 06, 2016

    Brightbox PPA 的 2.3 还没出,试验 PPA 的 2.3 出了,急的可以用这个 https://launchpad.net/~brightbox/+archive/ubuntu/ruby-ng-experimental

  • 送几本《AngularJS 学习手册》 at January 04, 2016

    👍 全栈译者。(这条回复不参与抽奖)

  • ActionView::Template::Error (Your template was not saved as valid UTF-8. at January 04, 2016

    设置编辑器的保存编码为 utf8,如果编辑器没有这个设置,那么换一个编辑器。

  • 程序员经常去的网站或者获得知识最多的网站 at January 04, 2016

    https://news.ycombinator.com/

  • 如何彻底删除一个 controller 里的 action at January 04, 2016

    测试的主要作用和必要体现在哪? https://ruby-china.org/topics/28355

  • 使用 passenger-install-nginx-module 安装 nginx 后无法使用 nginx at January 02, 2016

    #7 楼 @kingwkb https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/standalone/oss/deploy_app_main.html

    不推荐用的文档在哪里?

  • 元编程问题:关于动态创建方法 at December 26, 2015

    /^get_(.+)_info$/

  • 解决 stack level too deep 问题 at December 26, 2015

    看元编程之前看了基本语法书了没?

  • 解决 stack level too deep 问题 at December 26, 2015

    #2 楼 @runup :mouse 是符号,mouse 是方法。

  • 解决 stack level too deep 问题 at December 26, 2015
    component(mouse)
    
    component(component(mouse))
    
    component(component(component(mouse)))
    
    ...
    
  • 当 Rails 模型存在外键关系时,已经在模型中添加验证,如何在视图里如何添加错误提示 at December 25, 2015

    #10 楼 @zerzerheart 对。

  • 当 Rails 模型存在外键关系时,已经在模型中添加验证,如何在视图里如何添加错误提示 at December 25, 2015

    这个是 Rails Guide 的代码 http://guides.ruby-china.org/getting_started.html#%E7%94%9F%E6%88%90%E6%8E%A7%E5%88%B6%E5%99%A8

    它这么写就是不打算用错误信息。要用错误信息就要把实例写到 Controller,不然 Template 每次都是拿到新对象 error 都是空的。

  • [新手] Rails 如何在 model 中访问到 controller 中的方法 at December 25, 2015

    需求:做一个类似专题页的产品展示,要求这个专题页面可以在 cms 后台中实现可视化编辑,同时要求产品信息可以实现每周自动更新,并生成静态页。 可视化编辑在现有 cms 后台中是已经有这个功能的,但现有可能中的可视化中,产品是需要手动编辑导入的,没有自动更新功能。

    没看明白,需求是要做能自动更新的可视化编辑?想象不出来是什么。

  • Ruby 里面如何将 电话号码 手机号码全部匹配出来? at December 24, 2015
    标题的语法是不是有问题?
  • [新手] Rails 如何在 model 中访问到 controller 中的方法 at December 24, 2015

    单就“如何在 model 中访问到 controller 中的方法”问题来说,这个做法是错的。如果能描述目标而不是过程就可以提供一些建议。

  • [新手] Rails 如何在 model 中访问到 controller 中的方法 at December 24, 2015

    本身就是错的。

  • Rails 调用已有数据库时数据类型问题 at December 23, 2015

    已经转换为 BigDecimal,这个格式是对的。要转换为整数可以 .to_i,但是转换后不能做精确计算。

  • ruby.taobao.org 的 rvm 不能用了 at December 23, 2015

    截图很难看,考虑回答者的感受。

  • 问个超弱的问题:一条代码太长了,维护的时候想换行该怎么换。。。 at December 23, 2015

    https://github.com/JuanitoFatas/ruby-style-guide/blob/master/README-zhCN.md

  • 问个超弱的问题:一条代码太长了,维护的时候想换行该怎么换。。。 at December 23, 2015
    sheet1.row(i).push (item.category ? item.category.name : "-"),
                       (item.type ? item.type.name : "-"),
                       # ...
    
  • 应届生求个实习职位,怎么就这么难啊?求支招! at December 22, 2015

    "Talk is cheap. Show me the code."

  • Rails 对 MVC 控制器作用的困惑 at December 22, 2015

    https://github.com/chloerei/campo/tree/master/app/controllers/settings

  • 请教一下, ruby 下面 2 种写发有啥区别, 帮帮纠正思维. at December 18, 2015

    怎么不写 rand(5)?

  • 2013-2015年 RubyChina 招聘数据关键词统计 at December 18, 2015

    https://ruby-china.org/topics/28444

    发到一个主题里

  • [上海][七牛云存储] 诚招 Ruby 开发攻城狮!! at December 16, 2015

    高大上

  • 期待 Rails enum 的新功能 at December 16, 2015

    已经有了,但是还不能用 symbol 作为查询条件

    http://api.rubyonrails.org/v4.2/classes/ActiveRecord/Enum.html

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