Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Rei
@Rei
管理员
第 1 位会员 / 2011-10-28

[email protected]
深圳
188 篇帖子 / 9165 条回帖
731 关注者
0 正在关注
11 收藏
中下水平 Rails 程序员
打赏作者
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
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 发帖请注意代码的格式化 at 2013年01月31日

    #13 楼 @cqcn1991 markdown 的四空格缩进语法也是有效的。

  • 发帖请注意代码的格式化 at 2013年01月31日

    #2 楼 @yesmeck 其实发帖说明就有说,不过很多人可能对格式不讲究,急了就发了。

  • Rails 简单页面浏览量计数器的问题 at 2013年01月30日

    Patient.update_counters @patient.id, :viewed_count => 1

    http://apidock.com/rails/ActiveRecord/CounterCache/update_counters

  • super 报错,麻烦各位帮我看看! at 2013年01月30日

    代码排一下版吧,看顶楼帮你编辑的格式。

  • super 报错,麻烦各位帮我看看! at 2013年01月30日

    在 Man#say_sex1 里面调用 super,既是调用 Person#say_sex1,但是 Person 没有 say_sex1 这个实例方法。

  • 新发明,婊子不能有朋友 at 2013年01月29日

    看不懂在说什么。

  • JS 代码和 CSS 代码该怎么放? at 2013年01月28日

    http://railsapps.github.com/rails-javascript-include-external.html#specific

  • 国外有哪些成功的网站或者公司使用 Ruby on Rails? at 2013年01月27日

    Software

    OS X for development, Linux (CentOS, Scientific) in production Apache PHP, Scala, Ruby Redis, HBase, MySQL Varnish, HA-Proxy, nginx, Memcache, Gearman, Kafka, Kestrel, Finagle Thrift, HTTP Func - a secure, scriptable remote control framework and API Git, Capistrano, Puppet, Jenkins

    http://www.quora.com/Tumblr/What-is-Tumblrs-technology-stack

    确实没说 Rails,只是用了 Ruby。

  • 国外有哪些成功的网站或者公司使用 Ruby on Rails? at 2013年01月27日

    http://ruby-china.org/sites 国外著名网站

  • 桌面跨平台开发 at 2013年01月27日

    http://linuxtoy.org/archives/qt-5-0.html 我找最近一条新闻,Qt 一致好评啊

  • d at 2013年01月26日

    要不搬家,要不和邻居拼了。

  • 关于 devise 的一个小问题 at 2013年01月26日

    我看了看 devise 源码,好像没给 email 的校验加上 case_sensitive,username 我也不知道加没加,这样就有可能冲突,你可以自己试一试。

    写入的时候做好模型校验,查询的时候就不怕冲突,不过也有小几率并发绕过了模型校验(比如同时注册 Rei),可忽略。

  • Web 开发敏捷之道中,Ajax 初体验这章里面,Ajax 不起作用 at 2013年01月26日

    3.2 不支持 rjs 模板,建议退回 3.0.5 学习。看完书再看 changelog 跟上版本。

  • 关于 devise 的一个小问题 at 2013年01月26日

    lower() 是数据库内的函数。

  • Web 开发敏捷之道中,Ajax 初体验这章里面,Ajax 不起作用 at 2013年01月26日

    你看的书版本对应多少?

  • js 执行的怪异问题 at 2013年01月26日

    在 ready function 里面加几行日志看看

    console.log('hit');
    console.log($('.search input'));
    console.log($('.search #search-trigger'));
    

    然后到控制台看输出

    PS:没必要 require min 啊,这样调试都不好调试了,生产环境编译的时候会压缩的。

  • rails 开发的简化方案 at 2013年01月25日

    #11 楼 @cqcn1991 比如这个 url 是, /admin/users/cqcn1991/destroy,管理员之一访问到这个路径,你的帐号就消失了。

  • rails 开发的简化方案 at 2013年01月25日

    别这样做,有安全漏洞。比如,一个写操作如果可以用 get 访问,就可以把这个操作地址作为 img 的 src 发出去,有权限者一访问就中招。

  • 和一萌妹子说了 Github 的悲剧,于是就有了这个…… at 2013年01月24日

    #3 楼 @yangchenyun 不用自我审查

  • 请问怎么样代码停止,不让他在往下运行 at 2013年01月24日

    return

  • 和一萌妹子说了 Github 的悲剧,于是就有了这个…… at 2013年01月24日

    关键的萌妹子呢?

  • Passenger 怎么做到无缝更新部署? at 2013年01月24日

    企业版很贵么?

  • 想学点前端 (html,css,js),怎么弄? at 2013年01月23日

    http://learn.shayhowe.com/ 我收藏了还没看

  • 李开复 (weibo):强烈抗议封锁 GitHub 童鞋们快快转起 at 2013年01月22日

    #1 楼 @LinuxGit 这用不着删

  • 真有什么手机应用都有啊 at 2013年01月22日

    软广告

  • rails 中如何直接连接 mongodb。。? at 2013年01月20日

    #2 楼 @fjs rails 启动是载入 Gemfile 里面定义的组件

    在 Gemfile 加入

    gem 'mongo'

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