Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
zhouguangming
@zgm
高级会员
第 115 位会员 / 2011-11-17

ctrip.com
上海
14 篇帖子 / 1356 条回帖
37 关注者
0 正在关注
0 收藏
GitHub Public Repos
  • OpenHands 0

    🙌 OpenHands: Code Less, Make More

  • spec 0

    CloudEvents Specification

  • rails 0

    Ruby on Rails

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 既然可以 middleware,也应该可以 afterware at 2014年12月09日

    middleware 实际上有一部分就是处理 app 之后的。

  • rails 的 helper 中怎么获取当前服务器的 ip 或者 hostname? at 2014年12月08日

    当前服务器是当前请求设备的 ip, 还是当前处理服务器的 ip 呢?

  • [上海][2014年12月20日] 上海及长三角年度聚会 (12 月 19 日 求借移动投影屏幕) at 2014年11月22日

    :plus1:

  • Rails 3 与 Rails 4 中 try 方法的不同 at 2014年11月20日

    喜欢这类小文...

  • Rails 4 - Strong parameters 使用经验 at 2014年11月17日

    👏

  • Sinatra 模版问题?? at 2014年11月17日

    https://github.com/memcachier/examples-sinatra

  • [译] 为什么我们开发的 Raptor 比 Unicorn 快 4 倍,比 Puma,Torquebox 快 2 倍 at 2014年11月14日

    👍

  • 大家都来贴下自己的 Ruby 开发环境吧:) at 2014年11月13日

    #19 楼 @lawrence 虚拟机也在本地,用虚拟机是因为开发环境比较多,不想搞太乱

  • 大家都来贴下自己的 Ruby 开发环境吧:) at 2014年11月13日

    mac + vim + tmux + vagrant(ubuntu) + 各种 (ruby, rails)

  • 论坛有大牛看过 Ruby 本身的实现代码么? at 2014年11月11日

    @kenshin54

  • 各位刚开始学 Ruby 是为了啥? at 2014年11月11日

    玩点小应用

  • [上海][2014年11月11日] 2014 年 11 月 技术聚会 at 2014年11月08日

    👍

  • 大会期间北京的天气 at 2014年10月31日

    #10 楼 @saiga 我了个大擦!这样还能活吗?

  • 计时攻击原理以及 Rails 对应的防范 at 2014年10月27日

    #30 楼 @meeasyhappy 不是说 a == b 获取到 差值,而是说 Ruby 在内部使用 C 函数 memcmp 来实现 == 方法,你可以看一下这个 C 函数

  • [上海][2014年10月21日] 2014 年 10 月 周中聚会 at 2014年10月15日

    :plus1: 支持

  • FactoryGirl 的两个技巧: trait 和 association at 2014年10月13日

    👍

  • 程序员的 Burnout 与 Depression 抑郁症 at 2014年10月09日

    加油👍

  • How Did Tenderlove and Others Speed Up Rails? at 2014年10月08日

    👍

  • FFTS.IO [更新] at 2014年10月08日

    #你为何总是这么吊#

  • kaminari 默认打开最后一页 at 2014年09月29日

    一般的我做法是 order('id desc')

  • ruby 脚本运行结束才可以看到 logger 日志内容 at 2014年09月29日

    buffer

  • 网站访问速度很慢,如何检查并定位哪里是瓶颈?[问题作废] at 2014年09月26日

    贴个 log 上来,我访问挺快的。

  • rails 中的 rake 任务,return 报错? at 2014年09月24日

    A Rake task is basically a block. A block, except lambdas, doesn't support return but you can skip to the next statement using next which in a rake task has the same effect of using return in a method.

    task :foo do
      puts "printed"
      next
      puts "never printed"
    end
    

    Or you can move the code in a method and use return in the method.

    task :foo do
      do_something
    end
    
    def do_something
      puts "startd"
      return
      puts "end"
    end
    

    I prefer the second choice.

    http://stackoverflow.com/questions/2316475/how-do-i-return-early-from-a-rake-task

  • 编写 Ruby 的 C 扩展 at 2014年09月23日

    👏

  • 亲们精通几种 web 开发语言? at 2014年09月22日

    熟悉了这么多语言,却依然过不好这一生。

  • 学了一个多月的 Ruby on Rails 现在感觉到了瓶颈 at 2014年09月18日

    #19 楼 @linjunhalida 让我也听听把。

  • Vim Colors at 2014年09月18日

    @huobazi +1

  • RackSpace 怎么样,大家有用吗? at 2014年09月17日

    还可以,但是最近几天有点问题

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