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
  • 单表继承需要在 view 下建立新的模板路径吗 at June 25, 2015

    是根据对象的类型去找模板。

  • 进来吐个槽。RoR 这边的版本兼容性实在是煎熬人性 activerecord-oracle_enhanced-adapter at June 24, 2015

    #6 楼 @jasl 楼主提交 PR 的机会。

  • Ruby 怎么在 汉字 和 Unicode 码之间互相转换 at June 24, 2015
    ['9956'.hex].pack 'U'
    
  • 执行数据迁移的时候总是出现问题,请问有什么解决的方法吗? at June 24, 2015

    顶楼显示是 Ruby 2.1 阿。

  • Puma 等多线程的服务器上,Rails 能保证线程安全吗? at June 24, 2015

    https://bearmetal.eu/theden/how-do-i-know-whether-my-rails-app-is-thread-safe-or-not/

    Rails 框架本身和它的依赖是线程安全的,但是:

    1. 你需要确保自己项目的代码是线程安全的
    2. 你需要确保自己项目依赖的库是线程安全的
  • ruby.taobao.org 为什么不好用了? at June 23, 2015

    #14 楼 @huacnlee 用了 rubygem-mirror 还是 gemirro 还是其它?

  • ruby.taobao.org 为什么不好用了? at June 23, 2015

    #12 楼 @qhwa 现在是什么架构?

  • 表中没有 Primary Key 怎么办?( 暂时解决 ) at June 23, 2015

    联合主键在数据库设计角度看挺正常的。报错就处理错误。

  • [微信开发系列] 使用 JS API 实现微信支付功能 at June 23, 2015

    #3 楼 @jasl 哈哈 👍

  • RubyMotion 真的好贵~~你们是怎么玩的 at June 23, 2015

    有月付阿。

  • Rails 项目里的三大毒瘤 at June 23, 2015

    知道元编程 -> 知道怎么用元编程 -> 知道什么时候用元编程。

  • 【提问】请教一个 SQL 字符串转换成数组的方法 at June 22, 2015

    自用项目用到这么复杂的 SQL?楼主应该说说应用场合是什么。

  • 发送 socket 消息,端口号的类型必须从 fixnum 用 to_i 转成 int,为什么那? at June 22, 2015
    ~ $ irb
    irb(main):001:0> 1.class
    => Fixnum
    irb(main):002:0> 1.to_i.class
    => Fixnum
    

    我觉得你的 @fm_emb_port 原先不是 Fixnum。

  • ruby.taobao.org 为什么不好用了? at June 22, 2015

    @huacnlee 还在维护吗?还是已经交接了?

  • 关于 UserMailer.welcome (@user).deliver_later 使用中遇到的一个问题 at June 20, 2015

    #10 楼 @jk0 不持久化,用户点击链接的时候怎么拿来校验?

    Application Message Verifier http://zhaowen.me/blog/2014/04/09/whats-new-in-rails-4-dot-1/

  • 关于 UserMailer.welcome (@user).deliver_later 使用中遇到的一个问题 at June 20, 2015

    #6 楼 @jk0 http://guides.ruby-china.org/

    http://railscasts.com/ 要付费

  • 关于 UserMailer.welcome (@user).deliver_later 使用中遇到的一个问题 at June 20, 2015

    没看到 create_activation_digest 方法。

    attr_accessor :remember_token, :activation_token, :reset_token
    

    这几个 token 都是实例变量,没有持久化,重新生成实例就丢失了,job 里面也是重新生成实例。持久化是指在数据库里面加一个字段保存。

    另外是有办法不加字段生成 token 的,不过希望先搞清楚这里实例变量的生存周期。

  • 关于 UserMailer.welcome (@user).deliver_later 使用中遇到的一个问题 at June 20, 2015

    activation_token 没看到有设值和持久化的代码,所以它是 nil,说说你是怎么设计的?

  • 关于 UserMailer.welcome (@user).deliver_later 使用中遇到的一个问题 at June 20, 2015

    看到底没看到错误日志在哪里,楼主不要自己解释错误,把原本的日志贴出来。

  • 以后能用 Ruby 进行严肃的前端编程么? at June 19, 2015

    #6 楼 @chaucerling

    WebAssembly is a new project being worked on by people from Mozilla, Microsoft, Google, and Apple, to produce a bytecode for the Web.

  • 邮件发送频率限制 at June 18, 2015

    #13 楼 @kgen 验证应该是 QQ 的锅。

  • 以后能用 Ruby 进行严肃的前端编程么? at June 18, 2015

    http://opalrb.org/

    本来我觉得这个编译器没什么前途,后来发现 Asciidoctor 就是用 opal 编译到 asciidoctor.js 的。

  • 邮件发送频率限制 at June 18, 2015

    要解决 QQ 邮箱问题只能找关系或者做得足够大后吐槽他们引起关注 http://weibo.com/p/1001603727504811684569

    我没有关系也不够大所以还没解决。

  • Rei 请教一个 HTML 的压缩问题 at June 18, 2015

    slim 模版压缩的。

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