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
  • [北京][线下活动][2015年11月01日] 中关村周日技术 聚会 at October 28, 2015

    二维码拍脸,马上点后退。

  • ActiveResource 已经不更新了,现在换成其他的什么了? at October 28, 2015

    用 HTTP 库直接访问。

  • Spec 测试的问题 at October 28, 2015

    没看懂问题在哪,不知道你贴的日志和代码是有问题的还是没问题的。

    Rails 教程第三版已经不用 Rspec 了,建议看第三版。

  • RubyConf China 2015 资源汇总 at October 27, 2015

    #97 楼 @jasl 👏 辛苦了

  • [已解决] 服务器各项资源都空闲但还是有请求拥塞 at October 26, 2015

    #8 楼 @birbird 外部请求有没有限时?没有的话卡住一个这个进程就废了,然后客户端重试……

    update:不过 Passenger 默认好像对整个请求有限时。

  • [已解决] 服务器各项资源都空闲但还是有请求拥塞 at October 26, 2015

    中转代理应该用事件式编程吧,例如 https://github.com/eventmachine/eventmachine ,然后 Nginx 代理到 eventmathin server 上。一般的 ruby 脚本和 Passenger 基于进程和线程是顺序式的,访问外部资源时会阻塞。

  • [已解决] 用 ruby mechanize 抓取页面的 url,检查 xpath checker 可以匹配到 40 条连接,但在控制台执行后查看连接大小只有 6 个。 at October 24, 2015

    不要把问题标记为“紧急”,即使对你而言的确如此。http://doc.zengrong.net/smart-questions/cn.html#urgent

    如果得不到回答 http://doc.zengrong.net/smart-questions/cn.html#id266352

  • [已解决] 用 ruby mechanize 抓取页面的 url,检查 xpath checker 可以匹配到 40 条连接,但在控制台执行后查看连接大小只有 6 个。 at October 24, 2015

    提问的智慧 http://doc.zengrong.net/smart-questions/cn.html

  • 从昨天开始就好想买台 MacBook Pro,这是不是 Rubyist 的标配啊? at October 23, 2015

    http://rails-hosting.com/Results/2014/index.html

  • Ruby 中有要求强制实现的虚函数吗? at October 23, 2015

    没有。

  • Ruby 开发遇到的坑 at October 23, 2015

    #9 楼 @xiaoronglv 对。

  • Ruby 开发遇到的坑 at October 23, 2015

    #7 楼 @roclv matz 好像说了这个问题,可以看视频

  • Ruby 开发遇到的坑 at October 23, 2015

    #3 楼 @roclv 对。

  • Ruby 开发遇到的坑 at October 23, 2015

    #2 楼 @billy 可能是性能,前阵子 Rails 的一个性能优化就是把很多 String freeze 了,因为这个原因 Ruby 3.0 可能会把 String 默认设为 Immutable https://bugs.ruby-lang.org/issues/11473

  • Ruby 开发遇到的坑 at October 23, 2015

    a.freeze 冻结了 a 指向的对象,<< 直接修改对象,操作被阻止。+= 将 a 指向新的对象,操作没有被阻止。

    irb(main):001:0> a = 'c'
    => "c"
    irb(main):002:0> a.object_id
    => 18017940
    irb(main):003:0> a << 'd'
    => "cd"
    irb(main):004:0> a.object_id
    => 18017940
    irb(main):005:0> a.freeze
    => "cd"
    irb(main):006:0> a << 'e'
    RuntimeError: can't modify frozen String
            from (irb):6
            from /usr/bin/irb:11:in `<main>'
    irb(main):007:0> a += 'e'
    => "cde"
    irb(main):008:0> a.object_id
    => 17868100
    
  • Web 网站和 App 哪个更重要 at October 23, 2015

    Ruby China 是个学习分享社区,不需要引战吸引人气。建议楼主去别的社区,反复发这类帖子我会 block 帐号。

  • RubyChina 社区的搜素功能你们能用吗?貌似我好像用不了是什么情况? at October 21, 2015

    #12 楼 @embbnux 你漏了空格!!!

  • Rails 项目的页面中增加 Loading,使其在移动端的体验更好? at October 21, 2015
    1. Loading 本身就是拖慢响应的原因之一,移动端希望尽快看到内容。服务端渲染,减少要加载的内容,减少前端代码。
    2. Turbolinks 支持。
  • 北京现在做 Ruby 的有多少人? at October 20, 2015

    https://ruby-china.org/users/city/%E5%8C%97%E4%BA%AC

  • 阿里云首期开源众包计划,Rubyist 居然没人? at October 20, 2015

    其实我一直希望有支付宝官方人员接手 https://github.com/chloerei/alipay

  • 做 Web 前后端开发,Mac 苹果电脑,是最佳装备吗 at October 20, 2015

    不要喂食仇恨者:一位前网络巨魔的自白 http://select.yeeyan.org/view/538142/454140

  • 工作一年还是新手,很喜欢 ruby,却又不知道该怎么去深入学习,求前辈们指点 at October 20, 2015

    10 Ideas for Beginner Web Developers

    https://medium.com/code-thinking/10-ideas-for-beginner-web-developers-2f725aed08d5

  • Basecamp 3 开源编辑器 trix at October 20, 2015

    可视化编辑器合集 https://news.ycombinator.com/item?id=10413549

  • 帮忙分析一下网站的 慢查询,该怎么优化呢 at October 19, 2015

    要看具体代码和 SQL 的耗时阿。

  • 为什么 Python 没有 ruby-china 这样的论坛? at October 18, 2015

    https://groups.google.com/forum/#!forum/python-cn

  • eeepub 有替代品吗?好像几年没有更新了 at October 18, 2015

    https://github.com/skoji/gepub

  • 练习 Ruby on Rails Tutorialu 书上项目部署到 heroku 后好像不能加载 CSS at October 17, 2015

    #3 楼 @hemengzhi88 好像是 Heroku 路由不会直接处理静态文件,要通过应用的端口返回,链接内容是打开 Rails 应用的处理静态文件开关。Heroku 推荐用 CDN 缓存静态文件避免每次都通过 Rails 应用处理。

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