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

[email protected]
深圳
182 Topics / 9132 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
  • 最近 ruby china 老出现这样的问题 at November 15, 2012

    #4 楼 @yangman_wenzhu 页脚有些帮助链接。

  • 最近 ruby china 老出现这样的问题 at November 15, 2012

    #2 楼 @yangman_wenzhu 楼主自删了。

  • 最近 ruby china 老出现这样的问题 at November 15, 2012

    http://ruby-china.org/topics/1103

    你搜到的链接是多少?我搜到这个可以打开。

  • 社区的搜索基本不能用 at November 14, 2012

    为了新手友好需要自己做站内搜索了,有条件翻墙的还是应该把 google 放进翻墙列表。

  • 请教一个关于 render_list 的使用 at November 13, 2012

    不要用这个 helper

  • mongoid update 返回 true,但没有更新成功 at November 13, 2012

    update_attributes or update_attribute

  • 3.2.1 和现在的 3.2.9 区别大不? at November 13, 2012

    主要是 bug 和安全漏洞修复。

  • mongoid 清理多余字段 at November 13, 2012

    Update 操作加 multi 参数就可以批量了 http://www.mongodb.org/display/DOCS/Updating?focusedCommentId=3047922#Updating-update%28%29

  • Cache Digests 为何签名没变化? at November 12, 2012

    可能只在启动时候计算?

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

    #39 楼 @Iacob 微博不能教会一个人怎么学 Ruby 啊。

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

    #31 楼 @xiaolai 电子出版啊不是电子工业出版社。(顺便电子工业出版社真是有名的毁封面)

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

    #29 楼 @xiaolai 我觉得纸张出版真是太古老了,印刷、渠道成本巨大,传播效率又不高,没想到作者拿到的版税还这么低。我也希望电子出版赶紧把纸质出版干掉。

  • ruby-china 源码疑惑 at November 12, 2012

    #3 楼 @itsvoid has_many 正常来说是可以接着用 scope 的,再把 model 代码贴出来看看?以及报了什么错误?

  • ruby-china 源码疑惑 at November 12, 2012

    #1 楼 @itsvoid 不会啊,你把代码贴出来看看。

  • 试组团,购书 The RSpec Book at November 12, 2012

    这样做是不对的。

  • 请教一个 has_many 问题 at November 10, 2012

    #3 楼 @stephen 那可以用 #1 楼方法。

    不过实际经验来说,这两种 Node 可能会慢慢变大,需要添加不同的字段,这样就干脆用两个 Model 两个表。

    看楼主觉得它们的字段还会不会变了。

  • 关于 markdown 转换效能问题. at November 10, 2012

    #16 楼 @saiga 文档的私密性跟片段缓存有啥关系啊。

    <% if can_read? %>
      <% cache @post do %>
        <%= format_body @post.body %>
      <% end %>
    <% end %>
    
  • 请教一个 has_many 问题 at November 10, 2012
    class Topic
       belongs_to :node
    end
    
    class Article
       belongs_to :node
    end
    
    class Node
       has_many :topics
       has_many :articles
    end
    

    没什么问题啊?

  • 关于 markdown 转换效能问题. at November 10, 2012

    #13 楼 @saiga 所以读时渲染不就更适合了?写时不会产生渲染耗时。

  • 关于 markdown 转换效能问题. at November 10, 2012

    #7 楼 @saiga 不清楚你的应用场景,我的意思是在页面渲染的时候加缓存。

    <% cache @post do %>
      <%= format_body @post.body %>
    <% end %>
    

    库里只存原数据就行了。

  • 关于 markdown 转换效能问题. at November 10, 2012

    用片段缓存,不要写到数据库

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

    看好

  • respond_with (@obj,location:where_path) 怎么传递参数? at November 09, 2012

    create 和 upadate 成功以后应该是 redirect,不然用户刷新页面就重复提交了。

    不过我也觉得 respond_with 怪怪的,还是用 respond_to

  • Backup - 备份你的服务器环境 at November 08, 2012

    #26 楼 @nouh 我看了下好像没有。

  • Backup - 备份你的服务器环境 at November 08, 2012

    #24 楼 @nouh 整个库导出备份的话就是整个导入了。

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