Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
吕小荣
@xiaoronglv
管理员
第 1638 位会员 / 2012-03-29

上海
200 篇帖子 / 1627 条回帖
238 关注者
0 正在关注
17 收藏
社区清洁工
GitHub Public Repos
  • xiaoronglv.github.io 4

    Ryan's Blog

  • thoughts 1

    Engineering lessons learned: Ryan Lyu's tech blog

  • surge-rules 0

  • golang-ent-playground-... 0

    https://entgo.io/docs/getting-started

  • docs.nestjs.com 0

    The official documentation https://docs.nestjs.com 📕

  • clash-rules 0

  • chinese-independent-blogs 0

    中文独立博客列表

  • express_projects_with_... 0

    Good open source projects powered by express.js

  • xiaoronglv 0

  • CKA-Exercises 0

    Practice for the Certified Kubernetes Administrator (CKA) Exam

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • [杭州][2013年01月08号] Ruby Thursday,我们一起学 haskell at 2013年01月10日

    你们这些「骗子」, 居然在聊 javascipt.

    貌似很有意思。

  • 脚本如何规避单引号的导致的 SQL syntax 问题? at 2013年01月07日

    #10 楼 @zhangyuan

    hello, 你有没有试过这个方法。

    s.gsub(/\/, '&&') 好想有问题。反斜线\的转义方法应该为双反斜杠\\

  • ruby-china 中的 gem -- annotate at 2013年01月06日

    #10 楼 @sforce100 使用 mongoid 不需要使用这个 gem 包啊。

    你看一下 ruby-china 的 model

  • 脚本如何规避单引号的导致的 SQL syntax 问题? at 2013年01月06日

    #7 楼 @zhuf

    如果句子中有双引号,你的这个语句就挂了。 😄

  • 脚本如何规避单引号的导致的 SQL syntax 问题? at 2013年01月06日

    #3 楼 @zhangyuan

    这样吗?

    a = sentence_en[i].gsub(reg, "\'")

  • 做一个作业系统,怎么实现其权限系统? at 2012年12月20日

    cancan 也是个不错的 gem 包,很多人用它管理权限。

  • [杭州][2012年12月13号] Ruby Thursday 活动召集 at 2012年12月14日

    #29 楼 @fsword

    我比你还迟,她还在。

    你眼里只有红宝石。哈哈。

  • [杭州][2012年12月13号] Ruby Thursday 活动召集 at 2012年12月13日

    美女又走了

  • [杭州][2012年12月13号] Ruby Thursday 活动召集 at 2012年12月12日

    @zhuf 不去去?

  • [杭州][2012年12月13号] Ruby Thursday 活动召集 at 2012年12月12日

    报名。

  • 这个 robots.txt 大家怎么看? at 2012年12月01日

    是不是爬的太勤了,人家服务器扛不住阿。

  • 应届毕业生没有三方协议会怎么样? at 2012年12月01日

    三方协议没什么用处

  • 学 rails3 看什么书好呢? at 2012年11月27日

    我的英文还可以。但是我不建议直接上英文原版。

    新手不熟悉基本概念,会浪费很多时间揣测原文的意义。不如先看一些中文材料,了解这个领域需要的基本概念,比如 路由/MVC 等等。然后再深入的阅读原著。

    能有事半功倍的效果。

    这是我的个人愚见。

  • 两个冒号 at 2012年11月21日

    #8 楼 @fsword

    嗯。感谢您的建议。

    😄

  • 两个冒号 at 2012年11月21日

    #1 楼 @scys77 #2 楼 @zw963

    感谢两位的回复。刚刚读了这篇文档. http://rubymonk.com/learning/books/1/chapters/35-modules/lessons/80-modules-as-namespaces

    图片中的两个冒号应该是 namespace, 不是引用常量吧。

  • 两个冒号 at 2012年11月21日

    #3 楼 @sailtsao 看了 code_campo 的源码,

    每天我都抽时间重复敲一些 code_campo 的代码。

    敲过,但不理解

  • 大家看好自出版吗? at 2012年11月15日

    不仅仅是书籍,论文的出版现在也被牢牢的控制着。

  • RSS 只输出 20 篇文章, Google reader 却可以记录全部 at 2012年11月15日

    上面一段代码是 RailsCast 中的一个 builder, 生成 feed 专用。

    网址: http://railscasts.com/episodes/87-generating-rss-feeds-revised?view=asciicast

    代码是不是有问题啊?我怎么感觉应该写成下面这种格式?

    atom_feed do |feed|
      feed.title "Superhero Articles"
      feed.updated @articles.maximum(:updated_at)
    
      @articles.each do |article|
        feed.entry do |entry|
          entry.published article.publisherd_at
          entry.title article.name
          entry.content article.content
          entry.author do |author|
                  author.name article.author
          end
        end
      end
    end
    
    
  • RubyConfChina 2012 电子票已经发出,请各位注意看邮件 at 2012年11月15日

    已经收到邮件了。

    非常感谢。

  • RSS 只输出 20 篇文章, Google reader 却可以记录全部 at 2012年11月15日

    #2 楼 @ery 看不懂,稍微细说一下? 😄

  • RubyConfChina 2012 电子票已经发出,请各位注意看邮件 at 2012年11月14日

    我还没收到。

    姓名:吕小荣 邮箱:[email protected]

    劳烦再发一次,thanks

  • [杭州][11 月 13 日] 杭州本周 Ruby Tuesday at 2012年11月12日

    顶起。

    明天还有其他活动,唉。

  • [北京] 路透社招聘 Principle Rails 程序员 at 2012年11月07日

    6+ year,

    都公司中层了。

  • getaddrinfo: nodename nor servname provided, or not known at 2012年11月04日

    #1 楼 @lyfi2003

    昨晚在 stackoverflow 上找了半天,也没碰到合适的解决方案。

    经你指点,问题已经解决。非常感谢,

    localhost 有的时候可以连上数据库,有的时候必须用 127.0.0.1 才管用,挺奇怪的。我得查一下原因。

  • 这种数据是不是很适合用 mongoDB at 2012年11月02日

    #8 楼 @huangzhichong

    两种数据格式不同,model 暂时还不会写。

  • [杭州][10 月 30 日] 杭州本周 Ruby Thursday at 2012年11月02日

    求合影照片

  • RubyConfChina 遇到的问题和对应策略 at 2012年11月01日

    没有十全十美的活动,daniel 不要压力太大。

    辛苦了。

  • tags 嵌入 post at 2012年11月01日

    #1 楼 @Rei 那 model 该如何写呢。


    看了 code_campo,topic 与 tags 的 model 中没有声明关系。

  • [杭州][10 月 30 日] 杭州本周 Ruby Thursday at 2012年10月31日

    我去扯蛋。哈哈。

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