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
  • 孔夫子说过这个话么? at January 01, 2015

    这不是我说的。 —— 白岩松

  • 开发 app 的后台,用 ror 或者 Sinatra 能否合适? at December 31, 2014

    On the other hand, many people like to recommend projects they haven’t used in any depth, because the idea of knowing what the next big thing is feels good. The result is that people choose frameworks largely based on advice from people who don’t know what they’re talking about.

    http://larseidnes.com/2014/11/05/angularjs-the-bad-parts/

  • InfluxDB + Grafana 快速搭建自己的 NewRelic,分析应用运行情况 at December 30, 2014

    https://www.skylight.io/ 免费额度很适合小网站。

  • 为什么 render 回来的 HTML 中 JS 不重新加载? at December 27, 2014

    Turbolinks

  • 我轻断食的经历 at December 27, 2014

    我想起乔布斯的素食信仰,后来……

  • 请问这段代码什么意思? at December 27, 2014

    查 git log,给提交者发邮件问他什么这样写。

  • [已解] 一个关于 Rails 的路由问题,求解 at December 27, 2014

    #7 楼 @perish news 用作新闻的时候单复数同名,或者说没有单数。所以复数 helper 加 index 和单数 helper 区分开。如果 Rails 无法推测资源名的复数形式也会加上 index。

  • 这里的 Router 应该怎么写? at December 27, 2014
    # routes.rb
    resources :articles do
      collection do
        get 'node/:slug', to: 'articles#node', as: :node
      end
    end
    
    # articles_controller.rb
    def node
      @node = Node.find_by(slug: params[:slug])
      @articles = @node.articles.paignate(page: params[:page])
      render :index
    end
    
  • Routes 里面 API 加版本号的问题 at December 26, 2014

    #5 楼 @phaibin 我参考的是 github,直接 v1 v2 v3。

    要小版本那就起个 V1D1 这样的模块名了,scope 有 module path as 之类的参数,看组合一下哪个符合你的要求。

    http://api.rubyonrails.org/classes/ActionDispatch/Routing/Mapper/Scoping.html#method-i-scope

  • Routes 里面 API 加版本号的问题 at December 26, 2014

    #3 楼 @phaibin 很少见给 API 加小版本,会折腾烦开发者。

  • Ruby 2.2 发布了 at December 25, 2014

    等 PPA 打包。

  • 这个 rvm 的警告怎么消除 at December 25, 2014

    你的 .bashrc 或者 .bash_profile 里面,应该自己或者别的工具添加了 PATH=... 的语句,把这些语句移动到 rvm 相关的配置前面。

  • 《Ruby on Rails 教程(原书第 3 版)》正式版发布,附访谈 at December 25, 2014

    我晕,原来我发帖子的时候没人回复……

  • 在 Mac OS 10.10 上构筑 ruby 1.8.7 ,Rails 2.3.18 环境 at December 24, 2014

    #2 楼 @seraphim_houwei 用 Vagrant 装个和线上一样的运行环境。

  • 写入数据库你是否会考虑 UUID 重复问题 at December 23, 2014

    马上以这个 UUID 为参数购买一张彩票,并且给受影响的用户颁发年度总冠军头衔。

  • rails 中的 mail 视图里怎么调用自定义的 helper? at December 23, 2014

    #3 楼 @baypm2014 不要复用针对网页浏览的模板。邮件客户端对 HTML 的支持程度是不同的,直接用网页模板很可能样式错误。

  • rails 中的 mail 视图里怎么调用自定义的 helper? at December 23, 2014

    #3 楼 @baypm2014 Mailer 需要的变量都用参数传进去。

  • rails 中的 mail 视图里怎么调用自定义的 helper? at December 23, 2014
    1. 你应该把错误信息发上来。
    2. 即使引入了 Helper,Mailer 环境是没有 cookies 和 session 的。
  • 工作学习时,老是玩手机咋办? at December 23, 2014

    #4 楼 @nowherekai Dota2 支持 Linux 哦!

  • rails 数据关联的问题 at December 22, 2014

    https://www.ruby-toolbox.com/categories/rails_tagging

    看源码学结构。

  • 这是咩? at December 22, 2014

    您的连接不是私密连接

    攻击者可能会试图从 3wcoffee.com 窃取您的信息(例如:密码、通讯内容或信用卡信息)。

  • Rails 4.2 发布记 at December 22, 2014

    嗷嗷!赞!

  • Rails 4.2 正式版已发布 at December 21, 2014

    #28 楼 @moliliang 多谢~

  • Rails 4.2 正式版已发布 at December 20, 2014

    https://selfstore.io/ 已升级。

  • 茶叶学院 HTTP 这本书已经翻译完毕 at December 20, 2014

    #6 楼 @happypeter OK

  • 茶叶学院 HTTP 这本书已经翻译完毕 at December 20, 2014

    #1 楼 @happypeter 收益的分成几个贡献者应该达成共识了吧?

  • 国外电商系统 跟 国内的一些差异 at December 19, 2014

    中国:老板,不开发票能不能打折?

  • unicorn.sh 问题请教 at December 17, 2014

    我写 init.d 得出的经验是不要写 init.d http://chloerei.com/2014/12/15/foreman/

    不过这不能解决楼主的问题。

  • Shopify 原理 at December 16, 2014

    #18 楼 @luffycn 如果一个用户管理多个店铺呢?

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