Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Rock Law
@rockylaw
高级会员
第 2410 位会员 / 2012-06-05

上海
1 篇帖子 / 11 条回帖
0 关注者
0 正在关注
0 收藏
吃着花生米,喝着生啤,神仙般的生活啊。
GitHub Public Repos
  • rocky_blog 0

    my blog witch is based on octopress

  • deep0 0

  • react 0

    React is a JavaScript library for building user interfaces. It's declarative, efficient, and extr...

  • revalidator 0

    A cross-browser / node.js validator used by resourceful and flatiron

  • lotus 0

    A complete web framework for Ruby

  • unicorn 0

    Unofficial Unicorn Mirror.

  • ruby-china 0

    ruby-china.org website source code.

  • PhoneGap-Note-Demo 0

    a very simple demo use jquery + jquerymobile + backbone.js

  • jquery-cascading-dropdown 0

    A simple and lighweight jQuery plugin for cascading dropdown.

  • redis-objects 0

    Map Redis types directly to Ruby objects

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 扒一扒 ThoughtWorks 面试的那点事 at 2014年05月21日

    @jobthoughtworks 强烈建议把其中好的实现给大家分享一下

  • [西安] 途途科技招聘 Ruby/Rails 工程师 / 实习生 at 2014年04月24日

    魂牵梦绕的老家!支持!

  • 你的公司开始远程办公了没? 谈谈它. at 2014年04月16日

    @gaicitadie 错了,是@greatghoul

  • 你的公司开始远程办公了没? 谈谈它. at 2014年04月16日

    @gaicitadie 老乡,哈哈

  • IT 人士,如何预防久坐伤身? at 2012年09月12日

    @hlcfan 上次看了篇文章,Five Best Office Chairs http://lifehacker.com/5941523/five-best-office-chairs

  • 问大家一个关于 mongodb 设计的问题? at 2012年09月12日

    @gnemoug 首先你要理解 MongoDB 里面 schema 设计的基础概念。MongoDB 无非就“嵌入”和“引用”两种 schema 设计。也就是在速度和一致性之间做取舍。我以前翻译的一篇文章希望对你有帮助。 http://rockylaw.me/2012/01/gei_mongodb_kai_fa_zhe_de_50_tiao_jian_yi_tip_1/

  • 大家用什么键盘或鼠标呢 at 2012年09月02日

    @huacnlee mac 的蓝牙键盘确实不爽,键程太短,不爽的厉害。推荐使用 usb 的 Mac G5,全尺寸,底部是钢架衬托,敲击非常舒服,缺点就是款式太老。usb 版的 Mac G6 超薄的不是太喜欢。

  • 初学 ruby 刚接触 mongoid 的一个问题 at 2012年08月30日

    我试了一下,搞定了。 我的 mongoid.yml

    development:
      sessions:
        default:
          database: mongoid_test_db
          hosts:
            - localhost:27017
    

    我的 test_mongoid.rb

    require "mongoid"
    ENV['MONGOID_ENV'] = 'development'
    Mongoid.load!("./mongoid.yml")
    
    class Person
      include Mongoid::Document
      field :first_name
      field :middle_name
      field :last_name
    end
    
    p = Person.new(:first_name => 'rocky',:last_name => 'law')
    
    puts p.first_name
    
  • 初学 ruby 刚接触 mongoid 的一个问题 at 2012年08月30日

    配置文件呢?如果是脱离了 rails 环境使用 mongoid 的话,你需要自己建立一个 mongoid.yml 写好你的配置信息,然后 Mongoid.load!("path/to/your/mongoid.yml") 进去就好了。

  • 第一次用 Rails 开发网站 at 2012年08月28日

    晕死,只猜出来最下面那部是教父...

  • RubyConfChina 2012 预热帖 at 2012年08月28日

    记得去年是光棍节的时候,好快啊,都一年时间了。继续期待。

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