Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
吕小荣
@xiaoronglv
Admin
NO. 1638 / 2012-03-29

workstream.us
上海
198 Topics / 1618 Replies
236 Followers
0 Following
17 Favorites
社区清洁工
GitHub Public Repos
  • xiaoronglv.github.io 4

    Ryan's Blog

  • golang-ent-playground-... 0

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

  • surge-rules 0

  • 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

  • CKAD-exercises 0

    A set of exercises to prepare for Certified Kubernetes Application Developer exam by Cloud Native...

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • ruby-china 中的 gem -- annotate at January 06, 2013

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

    你看一下 ruby-china 的 model

  • 脚本如何规避单引号的导致的 SQL syntax 问题? at January 06, 2013

    #7 楼 @zhuf

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

  • 脚本如何规避单引号的导致的 SQL syntax 问题? at January 06, 2013

    #3 楼 @zhangyuan

    这样吗?

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

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

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

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

    #29 楼 @fsword

    我比你还迟,她还在。

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

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

    美女又走了

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

    @zhuf 不去去?

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

    报名。

  • 这个 robots.txt 大家怎么看? at December 01, 2012

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

  • 应届毕业生没有三方协议会怎么样? at December 01, 2012

    三方协议没什么用处

  • 学 rails3 看什么书好呢? at November 27, 2012

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

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

    能有事半功倍的效果。

    这是我的个人愚见。

  • 两个冒号 at November 21, 2012

    #8 楼 @fsword

    嗯。感谢您的建议。

    😄

  • 两个冒号 at November 21, 2012

    #1 楼 @scys77 #2 楼 @zw963

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

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

  • 两个冒号 at November 21, 2012

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

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

    敲过,但不理解

  • 大家看好自出版吗? at November 15, 2012

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

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

    上面一段代码是 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 November 15, 2012

    已经收到邮件了。

    非常感谢。

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

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

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

    我还没收到。

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

    劳烦再发一次,thanks

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

    顶起。

    明天还有其他活动,唉。

  • [北京] 路透社招聘 Principle Rails 程序员 at November 07, 2012

    6+ year,

    都公司中层了。

  • getaddrinfo: nodename nor servname provided, or not known at November 04, 2012

    #1 楼 @lyfi2003

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

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

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

  • 这种数据是不是很适合用 mongoDB at November 02, 2012

    #8 楼 @huangzhichong

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

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

    求合影照片

  • RubyConfChina 遇到的问题和对应策略 at November 01, 2012

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

    辛苦了。

  • tags 嵌入 post at November 01, 2012

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


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

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

    我去扯蛋。哈哈。

  • Sublime Text 2 快速格式化 at October 30, 2012

    #9 楼 @cod7ce

    看这里,如何设置快捷键

    http://joshbetz.com/2012/09/reindent-text-in-sublime/

  • 这种数据是不是很适合用 mongoDB at October 30, 2012

    #2 楼 @Rei

    今天忽然发现还有另外一种论文结构,冏。 请问一个 model 下,可以有不同的文档结构(schema)吗?

    <BookDocument>
           <PMID Version="1">23101096</PMID>
           <ArticleIdList>
               <ArticleId IdType="bookaccession">NBK84157</ArticleId>
           </ArticleIdList>
           <Book>
               <Publisher>
                   <PublisherName>Institute for Quality and Efficiency in Health Care (IQWiG)</PublisherName>
                   <PublisherLocation>Cologne, Germany</PublisherLocation>
               </Publisher>
               <BookTitle book="iqwigsum">Institute for Quality and Efficiency in Health Care: Executive Summaries</BookTitle>
               <PubDate>
                   <Year>2005</Year>
               </PubDate>
               <BeginningDate>
                   <Year>2005</Year>
               </BeginningDate>
               <Medium>Internet</Medium>
           </Book>
           <ArticleTitle book="iqwigsum" part="a0507">Benefit assessment of long-term blood glucose lowering to near-normal levels in patients with type 2 diabetes mellitus: Executive summary of final report A05-07, Version 1.0</ArticleTitle>
           <Language>eng</Language>
           <Abstract>
               <AbstractText>The aim of the present investigation is the benefit assessment of measures with the goal of long-term adjustment of BG to near-normal levels compared to measures with no goal or a less intensive goal of BG adjustment in patients with type 2 diabetes mellitus in respect of patient-relevant outcomes.</AbstractText>
               <CopyrightInformation>© IQWiG (Institute for Quality and Efficiency in Health Care).</CopyrightInformation>
           </Abstract>
           <Sections>
               <Section>
                   <SectionTitle book="iqwigsum" part="a0507" sec="a0507.s2">Background</SectionTitle>
               </Section>
               <Section>
                   <SectionTitle book="iqwigsum" part="a0507" sec="a0507.s3">Aim of the investigation</SectionTitle>
               </Section>
               <Section>
                   <SectionTitle book="iqwigsum" part="a0507" sec="a0507.s4">Methods</SectionTitle>
               </Section>
               <Section>
                   <SectionTitle book="iqwigsum" part="a0507" sec="a0507.s5">Results</SectionTitle>
               </Section>
               <Section>
                   <SectionTitle book="iqwigsum" part="a0507" sec="a0507.s6">Conclusions</SectionTitle>
               </Section>
           </Sections>
           <ContributionDate>
               <Year>2011</Year>
               <Month>06</Month>
               <Day>06</Day>
           </ContributionDate>
       </BookDocument>
       <PubmedBookData>
           <History>
               <PubMedPubDate PubStatus="pubmed">
                   <Year>2012</Year>
                   <Month>10</Month>
                   <Day>27</Day>
                   <Hour>6</Hour>
                   <Minute>0</Minute>
               </PubMedPubDate>
               <PubMedPubDate PubStatus="medline">
                   <Year>2012</Year>
                   <Month>10</Month>
                   <Day>27</Day>
                   <Hour>6</Hour>
                   <Minute>0</Minute>
               </PubMedPubDate>
               <PubMedPubDate PubStatus="entrez">
                   <Year>2012</Year>
                   <Month>10</Month>
                   <Day>27</Day>
                   <Hour>6</Hour>
                   <Minute>0</Minute>
               </PubMedPubDate>
           </History>
           <PublicationStatus>ppublish</PublicationStatus>
           <ArticleIdList>
               <ArticleId IdType="pubmed">23101096</ArticleId>
           </ArticleIdList>
       </PubmedBookData>
    
  • Prev
  • 1
  • 2
  • …
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • Next
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English