Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
zhouguangming
@zgm
VIP
NO. 115 / 2011-11-17

ctrip.com
上海
14 Topics / 1356 Replies
37 Followers
0 Following
0 Favorites
GitHub Public Repos
  • OpenHands 0

    🙌 OpenHands: Code Less, Make More

  • spec 0

    CloudEvents Specification

  • rails 0

    Ruby on Rails

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 原来还可以这样 ... at May 03, 2013

    真酷~

  • 有句格言道:“不要通过共享内存来通信,要通过通信来共享内存。” at May 03, 2013

    #18 楼 @jasl 消息队列怎么样?

  • [广州] 网易 Ruby 高级开发工程师 (J1604 ) at May 03, 2013

    #4 楼 @ryancheung 你在上海找好了?

  • Upgrade 到 Rails4 的一些感想 at May 03, 2013

    受用。

  • [广州] 网易 Ruby 高级开发工程师 (J1604 ) at May 03, 2013

    #1 楼 @u1360749170 搭搭后台管理吧,总不是把门户改成 ROR 吧。

  • [上海][2013年5月7日] Ruby Tuesday 活动召集 at May 03, 2013

    #5 楼 @yangchenyun 离浦东有点远,怕回去没车了。

  • [上海][2013年5月7日] Ruby Tuesday 活动召集 at May 03, 2013

    #7 楼 @small_fish__ 习惯优于配置。。

  • 在 module 定义时,使用 class << self 的目的是什么呢? at May 02, 2013

    #25 楼 @scuwolf 没人说必须啊。主要看你的 method_missing 想用在谁身上。

  • 在 module 定义时,使用 class << self 的目的是什么呢? at May 02, 2013

    #21 楼 @smallX 没看懂撒。

  • 在 module 定义时,使用 class << self 的目的是什么呢? at May 02, 2013

    #18 楼 @googya 这是现象,不是本质,本质是 @fsword 的 16 楼。

  • 在 module 定义时,使用 class << self 的目的是什么呢? at May 02, 2013

    #16 楼 @fsword 除了 scope 与 context 的呢?我上面的例子中已经能够说明这点了。@smallX 说区别不止这点啊。

  • 在 module 定义时,使用 class << self 的目的是什么呢? at May 02, 2013

    #12 楼 @lostleaf 问 @smallX

  • 在 module 定义时,使用 class << self 的目的是什么呢? at May 02, 2013

    #13 楼 @smallX 你说点,或者 show 点代码,我手头上目前没这本书。

  • 在 module 定义时,使用 class << self 的目的是什么呢? at May 02, 2013

    #10 楼 @smallX 说多点。

  • 在 module 定义时,使用 class << self 的目的是什么呢? at May 02, 2013

    #8 楼 @shin 所以我说不完全相通。

  • 在 module 定义时,使用 class << self 的目的是什么呢? at May 02, 2013

    @scuwolf

    module M
      N = 1
    end
    
    class C
      include M
    
      def self.foo
        puts N
      end
    
      class << self
        def bar
          puts N
        end
      end
    end
    
    C.foo
    C.bar
    
  • 在 module 定义时,使用 class << self 的目的是什么呢? at May 02, 2013

    #2 楼 @tumayun 不只这点区别。

  • params 循环会出错,大家有没有遇到过 at May 02, 2013

    #11 楼 @tiseheaini 你要求太高了。哎。

  • params 循环会出错,大家有没有遇到过 at May 02, 2013

    #8 楼 @tiseheaini 没让你写数组已经不错了。

  • params 循环会出错,大家有没有遇到过 at May 02, 2013

    #8 楼 @tiseheaini 你不符合规矩,怎么说他恶心啊。你看看 rack 的规范。

  • params 循环会出错,大家有没有遇到过 at May 02, 2013

    #6 楼 @tiseheaini 你怎么处理是你的事,你最后返回一个“success”之类的字符串就行了

  • 粉丝眼中的操作系统 at May 02, 2013

    😄

  • params 循环会出错,大家有没有遇到过 at May 02, 2013

    #4 楼 @tiseheaini 最后要返回一个字符串。

  • params 循环会出错,大家有没有遇到过 at May 02, 2013

    puts params[:info].inspect

  • 阿里云上 bundle install 最后提示 Killed at May 02, 2013

    512 能玩转 rails 么?

  • Rails 安全性小探 at May 02, 2013

    #9 楼 @alsotang CookieStore 是 Rails 的默认模式,它的优点肯定不需要怀疑,除了你说的上面几点,还有一个最大的优势就是简单,初级使用者即使没有相关的知识,也很能轻松的使用 Rails 提供的 session,但是 Rails 同时也提供不同的解决方案,也是有它的道理的,即使不考虑安全性,cookie stroe 也有他的局限性,比如长度的限制。

    你说的都蛮不错的。

  • Rails 安全性小探 at May 01, 2013

    #7 楼 @KoALa 这样就不能通过 cookie 知道 session 的内容了。

  • Mountable Engine 的项目应该如何实现测试呀 at May 01, 2013

    dummy app.

  • Geek 新闻网站上线 请猛烈点击! at May 01, 2013

    内容不错,希望能坚持下去。

  • 想开始写本关于程序员职业的书,有人会感兴趣么? at April 29, 2013

    支持

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