Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Ery
@ery
VIP
NO. 594 / 2011-12-27

沃丰时代 Udesk
北京
38 Topics / 1123 Replies
36 Followers
37 Following
104 Favorites
西伯利亚的雪景 万丈高空的鹰
GitHub Public Repos
  • railscasts-downloader 12

    a script to download and keep the railscasts videos up to date

  • suitup 10

    Common bash commands, support zsh

  • deploy-rails 8

  • showbuilder 7

    Show Builder

  • emknight 5

    Ember Knight is a front-end project base on ember.js

  • emcastle 3

    Ember Castle is a back-end project base on rails

  • sublime-text-2-ruby-tests 2

    Sublime Text 2 plugin for running ruby tests! (Unit, RSpec, Cucumber)

  • fetchshare 2

    Fast simple fetch and share

  • nginx-init-ubuntu 1

    Tried and true Nginx init script - got enhancements? Send a pull!

  • Ery.Sublime 0

    Sublime config of Ery

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 各位同僚都用什么工具写 Rails? at March 06, 2021

    Sublime

  • 【北京】Udesk 诚聘 ruby 技术经理 2 名、高级工程师 5 名、ruby 工程师 5 名 at February 20, 2020

    19 年我们在 Rails 上面实现了分布式数据库架构,最近正在计划重构,同时在做基于 Kong 和 K8S 的客户级别的灰度发布架构。

  • 招聘 [北京] [西直门] [B 轮] Udesk 诚邀 Ruby 工程师 10 - 20k & Ruby 技术经理 25 - 35k at August 16, 2018

    报个料 RPM +10 万

  • Awesome Ruby China at May 31, 2018

    git + tig + sublime/atom/任意编辑器,可以实现绝大部分需求。 git 需要的不是 GUI,而是使用者的细心研究。

  • Ruby 有糖相伴好下药 at April 16, 2018

    我认为目前 RubyOnRails 最大的问题是内存问题,太吃内存。

  • Linux、Ruby 不冷没天理! at February 01, 2018

    新人千万不要在 Windows 上使用 Ruby on Rails https://ruby-china.org/topics/1020

  • [北京] [西直门] [B 轮] Udesk 诚邀 Ruby 工程师 10 - 20k & Ruby 技术经理 20 - 35k at August 15, 2016

    我们目前正在招实习生。

  • [北京] [西直门] [B 轮] Udesk 诚邀 Ruby 工程师 10 - 20k & Ruby 技术经理 20 - 35k at August 09, 2016

    顶一下

  • Ruby 中的多进程与多线程 at June 06, 2016

    抛开业务场景谈技术都是耍流氓 :plus1:

  • [北京] [西直门] Udesk 诚邀 Ruby 工程师 & Ruby 技术经理 10 - 40k at March 25, 2016

    #4 楼 @mingj 抱歉,目前我们只招全职工程师

  • [北京] [西直门] Udesk 诚邀 Ruby 工程师 & Ruby 技术经理 10 - 40k at March 25, 2016

    #5 楼 @chinakr 感谢你的关注,尽管我们一直都在很努力的迭代,但还是有一些不尽人意的地方。另外美恰也很优秀。

  • 看到一个文章关于 DHH 怎么样组织他的 controller 的代码的 at March 09, 2016

    我喜欢另外一种极端情况,每个 controller 都只有一个 action 当然了,我不这会这样做。还是尽可能的遵守 restful

  • [北京] [西直门] Udesk 诚邀 Ruby 工程师 & Ruby 技术经理 10 - 40k at February 26, 2016

    #1 楼 @chinakr 试用后,感觉怎么样?

  • [北京] [西直门] Udesk 诚邀 Ruby 工程师 & Ruby 技术经理 10 - 40k at February 19, 2016

    #1 楼 @chinakr 有兴趣的话 来我们这里看看啊

  • 做为一个 Ruby 开发,如何持续学习 at January 22, 2016

    nice!

  • rescue 里可否获得各层栈里局部变量? at January 21, 2016
    [25] pry(main)> binding.class.ancestors
    => [Binding, BindingOfCaller::BindingExtensions, Object, PP::ObjectMixin, Kernel, BasicObject]
    [26] pry(main)>
    

    Gem binding_of_callere 通过 BindingOfCaller::BindingExtensions 给 Binding 类增加了一个函数 callers(返回一个 Binding 数组,每个元素即是每层函数栈的 binding) 该函数不同的 ruby 版本有不同的实现方式

    MRI 2.0 以下版本实现方式 https://github.com/banister/binding_of_caller/blob/master/ext/binding_of_caller/binding_of_caller.c#L222

    MRI 2.0 以上版本实现方式 https://github.com/banister/binding_of_caller/blob/master/lib/binding_of_caller/mri2.rb#L18

    以上两版都是通过 ruby 的 C 接口实现的。

  • Ruby 常量查找 (译) at January 12, 2016

    把代码高亮一下呗

    开头这样写就可以 ```ruby

  • 元编程 —— 装逼专用?(其实用 Rails,并不需要太高的 Ruby 技能) at December 15, 2015

    元编程,就像原子弹, 不能没有,但又不能乱用!

  • Ruby 微信开发群 at December 09, 2015

    已入

  • 大家前端用嵌入 Erb 还是用 Haml 呢? at December 02, 2015

    前后端分离之前,在用 slim

  • 画说 Ruby 与 Python 垃圾回收 at November 24, 2015

    @wadexing :plus1:

  • 在 Windows 环境下安装 unicorn gem 包出错 at November 24, 2015

    远离 windows 才是正道

  • Rails Log Process at November 03, 2015

    消灭零回复

  • 有没有感觉 “Ruby on Rails 指南” 有点坑爹啊,里面的内容和目前 Rails 代码有点脱节啊。 at October 26, 2015

    rails 更新的比较频繁 所以看官方文档的时候,必须清楚该文档对应的 rails 版本

    比如 http://guides.rubyonrails.org/v4.1.8/ https://github.com/rails/rails/tree/v4.1.8

    http://guides.rubyonrails.org/v4.0.8/ https://github.com/rails/rails/tree/v4.0.8

  • Ruby 中有要求强制实现的虚函数吗? at October 24, 2015

    因为 Ruby 没有编译过程,所以可以通过运行期的异常,来代替/模拟,静态语言中的编译报错。 比如,可以用 ruby 的“undefined method”的异常,来代替/模拟,静态语言的“MUST be overrided”的编译报错。

  • Ruby 中有要求强制实现的虚函数吗? at October 24, 2015
    class P
      def call_hello
         self.hello
      end
    end
    
    class S < P
       def hello
         puts "Hello World!!!"
       end
    end
    
    S.new.call_hello # Hello Word!!!
    P.new.call_hello # 抛异常 undefined method `hello'
    

    Ruby 实现“OO 多态”的方式和静态语言不同, Ruby 没有接口和虚函数的概念, Ruby 采用的方式是"duck type" 。 所以不需要在基类中定义“纯虚函数”。

  • 刚刚修复了 ruby.taobao.org Gem 镜像无法使用的问题 at October 24, 2015

    :plus1:

  • Ruby 中有要求强制实现的虚函数吗? at October 23, 2015

    你可以理解为 Ruby 所有的方法 都是虚函数,所有的方法都可以被重写

  • Ruby 中有要求强制实现的虚函数吗? at October 23, 2015

    定义个一个空函数,然后在里面抛异常

    class Person
      def name
        raise "请实现该接口"
      end
    end
    
    class Customer < Person
    end
    
    c = Customer.new
    c.name #异常了 请实现该接口
    
    def c.name
      "实现完了"
    end
    
    c.name # 实现完了
    
  • Ruby 将引入 ".?" Safe navigation operator at October 23, 2015

    我喜欢这种语法

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