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

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

  • asciidoctor-htmlbook 31

    Asciidoctor HTMLBook is an Asciidoctor backend for converting AsciiDoc documents to HTMLBook docu...

  • material-ui 17

  • geeknote 15

  • rich-text-editor 12

  • htmlrenderer 12

  • rails-chatgpt-demo 8

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 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 应用处理。

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

    看看有无帮助 https://devcenter.heroku.com/articles/rails-4-asset-pipeline

  • PHP vs Golang vs Node.js at October 17, 2015

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

  • RubyConf China 2015 期间电子书五折优惠 at October 16, 2015

    #23 楼 @crazycode 找邮件或者浏览器历史的链接,怕丢失的话点击订单页脚的注册。

  • 搭建 Ruby China 开发环境 (Vagrant) at October 15, 2015

    #3 楼 @huacnlee 不用 gem 吧,在 db/seeds.rb 里面用 ActiveRecord 行了。

  • 搭建 Ruby China 开发环境 (Vagrant) at October 15, 2015

    #1 楼 @huacnlee 其实把安装好的镜像重新打包都行,但是我觉得从官方源下载然后安装比较安全和透明。

  • Rails 怎么执行一个外部到 SQL 表来导入数据库啊? at October 15, 2015

    导入 sql 不需要通过 Rails。

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

    #63 楼 @jasl 我和 @luikore 的 PDF 都重新导了,看还赶得上剪辑么。

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

    #75 楼 @quakewang 明白了

    @luikore 也重新导出一下吧,看这里 https://github.com/hakimel/reveal.js#pdf-export

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

    #75 楼 @quakewang 咦,这是怎么导出的,样式这么原版?

  • Incomplete response received from application at October 14, 2015

    关于 ENV 的设置,水还挺深的: https://www.phusionpassenger.com/library/indepth/environment_variables.html

  • Turbolinks 后端逻辑分析 (更新总集篇) at October 14, 2015

    #43 楼 @zoker 好,都修复了。

  • 欢迎 3 位新的 Ruby China 社区管理员 at October 13, 2015

    :plus1:

  • RubyConfChina 2015 10月10日 晚 AA 香蜜湖撸串活动 at October 07, 2015

    #2 楼 @jasl 🎉 🎉 🎉 浴室滑跪~

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