Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Rock Law
@rockylaw
VIP
NO. 2410 / 2012-06-05

上海
1 Topics / 11 Replies
0 Followers
0 Following
0 Favorites
吃着花生米,喝着生啤,神仙般的生活啊。
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
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 扒一扒 ThoughtWorks 面试的那点事 at May 21, 2014

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

  • [西安] 途途科技招聘 Ruby/Rails 工程师 / 实习生 at April 24, 2014

    魂牵梦绕的老家!支持!

  • 你的公司开始远程办公了没? 谈谈它. at April 16, 2014

    @gaicitadie 错了,是@greatghoul

  • 你的公司开始远程办公了没? 谈谈它. at April 16, 2014

    @gaicitadie 老乡,哈哈

  • IT 人士,如何预防久坐伤身? at September 12, 2012

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

  • 问大家一个关于 mongodb 设计的问题? at September 12, 2012

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

  • 大家用什么键盘或鼠标呢 at September 02, 2012

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

  • 初学 ruby 刚接触 mongoid 的一个问题 at August 30, 2012

    我试了一下,搞定了。 我的 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 August 30, 2012

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

  • 第一次用 Rails 开发网站 at August 28, 2012

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

  • RubyConfChina 2012 预热帖 at August 28, 2012

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

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