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

[email protected]
深圳
188 Topics / 9165 Replies
731 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**

  • geeknote 34

  • 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

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Rack 在整个 Ruby Web 系统中处于什么位置? at June 17, 2015

    Servlet

  • Rails 服务器 CPU 负载过高 at June 17, 2015

    http://newrelic.com/ 监控一下看瓶颈。

  • 启动项目的时候出现 bug at June 17, 2015

    别急于宣称找到臭虫 http://doc.zengrong.net/smart-questions/cn.html#id264997

  • 启动项目的时候出现 bug at June 17, 2015

    routes.rb 末尾。

  • 有没有关于 faraday 的好教程?(要不看不懂就改用 rest-client?) at June 17, 2015

    #6 楼 @flowerwrong rest client 有什么问题?

  • 关于订单失效 at June 17, 2015

    #5 楼 @marksloan 库存可以用查询的方式,库存 = 真实库存 - 未过期的打开订单。

  • 关于订单失效 at June 17, 2015

    #3 楼 @hxh1246996371 需要判断时判断。

  • 关于订单失效 at June 16, 2015

    如果是用支付宝接口的话还要指定过期时间的参数。

  • 关于订单失效 at June 16, 2015

    判断创建时间。

  • 用 ror 开发了一个网站并且已经上线,现在需要加个需求,就是需要有会员积分系统。各位大神有什么好的意见。 at June 16, 2015

    #5 楼 @tracyzhang 是的。

  • 用 ror 开发了一个网站并且已经上线,现在需要加个需求,就是需要有会员积分系统。各位大神有什么好的意见。 at June 16, 2015

    我建议按你原先想法做。

  • Active Record 中如何使用 delegate 到一个不相关的 class 里的方法 at June 16, 2015
    class Order < ActiveRecord::Base
      def pay
        case order_type
        when 'pay_one'
          pay_one
        when 'pay_two'
          pay_two
        end
      end
    
      def pay_one
      end
    
      def pay_two
      end
    end
    
  • 如何动态去调用类? at June 16, 2015
    module A
      class B
        def self.new(str)
          const_get(str.to_s.classify).new
        end
      end
    end
    
  • 使用 redis 服务器做页面缓存,当用户量大的时候会不会出现内存爆掉的现象 at June 15, 2015
    maxmemory 2mb
    

    http://redis.io/topics/config#configuring-redis-as-a-cache

  • 又一个新的 JS 框架 Flight -- 出自 Twitter at June 14, 2015

    #2 楼 @prajnamas 为什么这么轻易能说出“吊打”这个词?

  • 又一个新的 JS 框架 Flight -- 出自 Twitter at June 14, 2015

    这个出来很久了 Jan 27, 2013 – Jun 13, 2015 https://github.com/flightjs/flight/graphs/contributors

  • RVM 安装后,一旦加入 RVM 环境变量,终端一打开将崩溃,提示如图: at June 13, 2015

    #5 楼 @mexiqq 现在不是在提问了吗?

  • RVM 安装后,一旦加入 RVM 环境变量,终端一打开将崩溃,提示如图: at June 13, 2015

    看这个 shell 这么花哨,有可能 shell 的配置产生不兼容。

  • RVM 安装后,一旦加入 RVM 环境变量,终端一打开将崩溃,提示如图: at June 13, 2015

    为什么 source rvm 会出现 vim 提示,这要从你做过什么找线索。

  • Rails 中能把 created_at, updated_at 字段名字改了吗? at June 12, 2015

    #6 楼 @quakewang +1

  • Homebrew 作者被 Google 鄙视了… at June 11, 2015

    应该去 Apple 开发者工具部门。

  • Producter —— 一本关于设计,iOS,营销的书 at June 11, 2015

    #17 楼 @jasl hotmail 也是个问题,它接收所有邮件,但是连垃圾箱都不给进,像个黑洞。建议把 @selfstore.io 加入邮箱白名单,这样就能收到邮件了。

  • Producter —— 一本关于设计,iOS,营销的书 at June 11, 2015

    #13 楼 @hbin #14 楼 @teddy QQ 邮箱可能会拒信,用之前的链接下载就行了。

  • 突然纠结一个问题:gem 使用多了有什么坏处吗 at June 10, 2015

    It Depends.

  • Render 一个 List 900ms 是不是很慢? 一般多长时间是可以接受的呢? at June 09, 2015

    只有一行日志,什么环境都不说,关键代码没有,这是想解决问题还是猜谜大会?

    正面回答标题:900ms 超慢,我的应用内容多的页面一般 50 ~ 100 ms。

  • [已解决] Rails 生产模式下 CSS 编译错误问题 at June 09, 2015
    $ RAILS_ENV=production bundle exec rake assets:precompile
    

    http://guides.ruby-china.org/asset_pipeline.html#%E4%BA%8B%E5%85%88%E7%BC%96%E8%AF%91%E5%A5%BD%E9%9D%99%E6%80%81%E8%B5%84%E6%BA%90

  • 写了一段 Ruby 代码,但是运行卡住,循环问题 at June 09, 2015

    先格式化代码 https://ruby-china.org/markdown

  • production script cannot work at June 08, 2015

    coffee 没编译。

  • Ruby on Rails 或者 Sinatra 是否可以开发 P2P 的平台 at June 08, 2015

    什么是 P2P 平台?

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