Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Rei
@Rei
管理员
第 1 位会员 / 2011-10-28

[email protected]
深圳
186 篇帖子 / 9147 条回帖
730 关注者
0 正在关注
11 收藏
中下水平 Rails 程序员
打赏作者
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

  • htmlrenderer 12

  • rich-text-editor 12

  • rails-chatgpt-demo 8

  • rails-app 7

    A Rails project template lets me start new projects quickly.

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 支付宝 API 向导 (Ruby 版),以及开源一个支付宝 gem at 2014年03月28日

    #43 楼 @huangling02 企业号或个人号都行,个人号限制多。需要有线上的网站提交审核。

  • 部分 fixtures 加载到制定的测试库 (项目有两个数据库) at 2014年03月28日

    很少人会回答这个问题:

    1. 测试环境很少使用两个库
    2. 很少使用 fixtures
  • render 怎么传递参数? 怎样重新刷新一小部分页面? at 2014年03月27日

    我这篇讲 UJS 的博客还能用

    http://chloerei.com/2012/04/21/rails-3-2-ajax-guide/

  • render 怎么传递参数? 怎样重新刷新一小部分页面? at 2014年03月27日

    #6 楼 @chairy11 就是 4 楼方法。

    提问三件套:

    1. 代码
    2. 日志
    3. 调试
  • 基于 ruby on rails 做一个站内搜索 (不基于谷歌百度的站内搜索) at 2014年03月27日

    https://github.com/elasticsearch/elasticsearch-rails

  • render 怎么传递参数? 怎样重新刷新一小部分页面? at 2014年03月27日
    <%= render 'follow_icon', product: product %>
    
    <%= render partial: 'follow_icon', locals: { product: product } %>
    
  • 使用 ElasticSearch-ruby 插件,怎么设置 model,排除不需要索引的字段? at 2014年03月27日

    #11 楼 @hz_qiuyuanxin

    NOTICE: This library has been renamed and retired in September 2013 (read the explanation). It is not considered compatible with Elasticsearch 1.x.

    Have a look at the http://github.com/elasticsearch/elasticsearch-rails suite of gems, which contain similar set of features for ActiveModel/Record and Rails integration as Tire.

  • 通过 has_many 后 initialize 应该如何写呢? at 2014年03月27日

    建议:

    1. 重新组织语言
    2. 上代码
  • 上海书店竟然没有一本标题有 Ruby 的书 at 2014年03月26日

    http://www.amazon.cn/s/ref=nb_sb_noss_1?__mk_zh_CN=%E4%BA%9A%E9%A9%AC%E9%80%8A%E7%BD%91%E7%AB%99&url=search-alias%3Dstripbooks&field-keywords=ruby

  • 用 rails s 启动的 server,如何做静态资源 url rewrite? at 2014年03月26日

    http://guides.rubyonrails.org/routing.html#redirection

  • 实现用户给一个特定的邮箱发邮件 (建议意见等)。 at 2014年03月26日

    http://guides.rubyonrails.org/action_mailer_basics.html

  • 开源 Tower 的编辑器 Simditor at 2014年03月25日

    #2 楼 @ruby_sky http://mycolorway.github.io/simditor/demo.html

  • 终于有人忍不住问 Ryan Bates okay? at 2014年03月25日

    现在是最好的订阅时机,7 美元看几百篇文章。

  • 按照 Web 开发敏捷之道 第四版 做的 css 不起作用 at 2014年03月24日

    css 放 javascripts 文件夹确实有问题,浏览器开调试,Network 栏,那个 css 文件应该无法找到。

  • 按照 Web 开发敏捷之道 第四版 做的 css 不起作用 at 2014年03月24日

    #1 楼 @blacktulip 3.0.5 还没有 assets pipeline。

  • demo 路由应该怎么写? at 2014年03月24日

    #5 楼 @teemo 不要发盗版

  • 如何快速判断一个 hash 里是否有 nil 或者空值 at 2014年03月23日

    #8 楼 @willmouse 还真是,不写第二个参数就混一起了,已修正。

  • 如何快速判断一个 hash 里是否有 nil 或者空值 at 2014年03月23日
    a.all? { |key, _| params[:a][key].present? }
    
  • 一个关于 vim 的小问题 at 2014年03月20日
    :call ReloadAllSnippets()
    
  • Mongodb 安装慢到极致 at 2014年03月20日

    #8 楼 @yutian 从 ubuntu 的源安装,不需要 mongodb 的 key。不过 ubuntu 源的版本要低一些。

  • Mongodb 安装慢到极致 at 2014年03月20日
    sudo apt-get install mongodb
    
  • 我觉得应该把 wiki 迁移到 Github wiki at 2014年03月19日

    #75 楼 @hozaka 赞 👍

  • 有大神能把 Turbolinks 说得深入浅出点吗? at 2014年03月19日

    奥,还有个 page:load,考虑到 restore 的问题,page:load 才是对应 $().ready

  • GitHub 首位女工程师离职、联合创始人停职 at 2014年03月19日

    #11 楼 @mojidong 👎

  • 有大神能把 Turbolinks 说得深入浅出点吗? at 2014年03月19日

    #22 楼 @chairy11 那估计是 faye 连接不上出现的 bug,正常状况是不影响的。

  • 有大神能把 Turbolinks 说得深入浅出点吗? at 2014年03月18日

    #19 楼 @chairy11

    1. 地址栏会变
    2. head 不变
    3. ga script 如果放在 body 部分,那么跟正常用没什么分别

    现在 Ruby China 就是开着 turbolinks 的,你觉得分享链接有困难吗?

  • 有大神能把 Turbolinks 说得深入浅出点吗? at 2014年03月18日

    再扰乱一下楼主,其实我现在用 page:change 很少,换成这样写:

    $(document).on 'click', 'body', ->
      console.log('hit')
    
  • 有大神能把 Turbolinks 说得深入浅出点吗? at 2014年03月18日

    #14 楼 @chairy11 如果要用 turbolinks,最好就用 page:change,并且要写可以反复执行不冲突的代码。

  • 目前使用 rails 的主流版本是多少? at 2014年03月18日

    ruby 2.1.1 rails 4.1.1.rc1

  • 有大神能把 Turbolinks 说得深入浅出点吗? at 2014年03月18日

    #11 楼 @saiga 我发觉楼主很喜欢把事情简化成一句话理解,这样很不好。

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