Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
会员
liukun_lk (FeelMix)
第 10351 位会员 / 2013-11-29
8 篇帖子 • 89 条回帖
4 关注者
55 正在关注
189 收藏
在岁月里,只有那些留下来的,才是真的。
打赏支持
GitHub Public Repos
  • awesome-ruby-china 312

    A collection of excellent topics. https://ruby-china.org/topics/excellent

  • omniauth-dingtalk 2

    OmniAuth strategy for DingTalk.

  • init.d 1

    快速安装 Ruby 产品部署环境的批量脚本

  • rails-analysis 0

  • toolbox 0

  • stories 0

    Medium clone built with Ruby on Rails

  • coreui-rails 0

    Gem to add CoreUI assets to your Rails asset pipeline.

  • meq 0

    A modern messaging platform for Message Push、IM、IoT etc, based on MQTT protocol

  • awesome-react-framer-x 0

    A collection of awesome links to learn React, ES6 & Framer X

  • Final-work 0

    期末作业提交展示平台。

More on GitHub
  • 个人信息
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 热门话题
  • 最近回帖
  • 个人介绍
  • 分享 Awesome Ruby China
    55 个赞 • 102 条回复
  • 书籍 《Ruby Under a Microscope》中文版出版了
    2 个赞 • 4 条回复
  • 分享 Kite - Programming copilot
    1 个赞 • 1 条回复
  • Rails 如何测试并发情况
    0 个赞 • 2 条回复
  • 分享 MVC 是一个巨大误会
    0 个赞 • 9 条回复
  • 新手问题 gem better_errors 无法工作
    0 个赞 • 13 条回复
  • 新手问题 Sublime Text 2 有没有关于 Rails 的插件
    0 个赞 • 6 条回复
  • 使用 accepts_nested_attributes_for 去 update 一对多的嵌套表,为什么 update 变成了 insert at 2019年03月17日

    你这个里面的 id 并不是嵌套表单里面的 id,取到数据的时候自然找不到原有的数据去 update,所以每次都是进行 insert 操作

  • 怎么让 请求某个 action 的日志不产生在 log 文件里 at 2019年01月18日
    # https://stackoverflow.com/questions/2196828/how-can-i-disable-logging-in-ruby-on-rails-on-a-per-action-basis
    
    def action
      Rails.logger.silence do
        # Things within this block will not be logged...
      end
    end
    
  • 实例变量的一个坑 at 2018年12月17日

    应该是相当于

    class C
      def self.f
        @c
      end
    end
    
  • Awesome Ruby China at 2018年08月20日

    @Rei 麻烦管理员帮忙删一下吧

  • 在调用 selenium-webdriver 库时发现报如下错误,找了好久资料不知道问题出在那里,有大神知道的吗 at 2018年06月28日

    Failed to open TCP connection to 127.0.0.1:5555是不是啥服务没开

  • undefined method `reopen' for "streamed":String at 2018年06月22日

    那你可能需要把# frozen_string_literal: true改成 false

  • undefined method `reopen' for "streamed":String at 2018年06月22日

    你的文件开头是不是写了# frozen_string_literal: true

  • extract_options! 实现的疑问 at 2018年06月18日

    看到这个 commit,在回头看extractable_options?上方的注释,其实就是为了可以自定义子类,就像你例子中的H,如果

    class H < Hash
      def extractable_options?
        false
      end
    end
    

    那么

    hash = H.new({foo: 1})
    array = [hash]
    options = array.extract_options! # 这边是取不出 hash 的
    
  • Awesome Ruby China at 2018年06月12日

    杭州的一个学校,主要是学长很有想法和能力;工具的话叫做 trello

  • Awesome Ruby China at 2018年06月01日

    请问你最后的图每次合并分支都是通过 rebase 吗?能分享下你们是按照怎么样的流程走的呢?

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / Status / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / 正體中文 / English