Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
@blacktulip
VIP
NO. 207 / 2011-11-23

117 Topics / 2599 Replies
40 Followers
0 Following
4 Favorites
GitHub Public Repos
  • octopress-theme-yinyang 37

    YinYang (陰陽) is a minimal, responsive theme for Octopress.

  • vimfiles 1

    My vimfiles

  • qingwang.github.com 0

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • [已解决] 如何创建 PostgreSQL 的数据库 at May 09, 2014

    #27 楼 @Kabie 要说坑哪有比 arch 大的坑

  • [已解决] 如何创建 PostgreSQL 的数据库 at May 08, 2014

    楼主,如果要想彻底整明白的话

    http://www.postgresql.org/docs/manuals/

    挑你对应的版本,把第一章 Tutorial 和第三章 Server Administration 仔细看一遍。

    其实大家的意思就是 RTFM ... 没什么捷径可走。

  • [Wellington] New Zealand Company needs 5 Ruby On Rails Developers (Still valid) at May 08, 2014

    #1 楼 @shangrenzhidao “We are happy to provide New Zealand work visa sponsorship if you are the right person we are looking for.”

    Read the thing.

  • [已解决] 如何创建 PostgreSQL 的数据库 at May 08, 2014

    你的 PostgreSQL 指定的用户没有创建数据库的权限

  • 为何我无法读取远程数据库啊,求大神解救啊 at May 08, 2014

    不清楚,windows 这么小众的系统没用过,想帮楼主也有心无力....

  • 面向抖 M 编程: 在 Ruby 中只使用 Proc 解决 FizzBuzz 问题 at May 08, 2014

    略老...

  • 排列组合 at May 06, 2014

    彩票?

  • 有没有使用 capistrano 的个人站长?有没有觉得这种部署方式很慢? at May 05, 2014

    #9 楼 @ddyy Asset Pipeline 也不是必须用的

  • 有没有使用 capistrano 的个人站长?有没有觉得这种部署方式很慢? at May 05, 2014

    #3 楼 @ddyy 你可以对着生产环境写啊,没有人逼你用 capstrano 的。SSH 到生产机器上随便改就是了。

  • 凑数 at May 05, 2014

    这次我也一行党...

    def coushu(n, m)
      (1..n).each { |i| (1..n).to_a.combination(i).each { |j| p j if j.inject(:+) == m } }
    end
    
  • 初学 rails 到底学习哪个版本好,网上资源最多的是 3.2 的,官方最新的是 4.1 的? at May 05, 2014

    永远从最新版开始学 #31 楼 @yfractal 这里又有 Django 什么事情了?

  • Rspec 是在 Rails 目前用的最多的测试框架吗? at May 05, 2014

    #19 楼 @billy 开个玩笑,我感觉近几年的测试和以前的测试已经不大一样了,需要再想想,可能我的理解有点问题。

  • Rspec 是在 Rails 目前用的最多的测试框架吗? at May 05, 2014

    #17 楼 @billy 我可以人肉测试...

  • Rspec 是在 Rails 目前用的最多的测试框架吗? at May 05, 2014

    #15 楼 @sufish 据我所知,重构概念出现远早于自动化测试概念

  • 代码要以容易懂为好 at May 03, 2014

    首先得先有能力写成一行,然后才有资格讨论一行好不好...

  • 在 application.html.erb 中引入 css 出错,忘高手帮忙给看看 at May 01, 2014

    custom.css.scss 也贴一下

  • 数字分组 1 at April 30, 2014

    #2 楼 @5swords 我还以为要自己实现组合,原来有 combination 方法,学习了。

    文档不熟啊 T_T

  • 数字分组 1 at April 30, 2014

    我能想出拆成好几个小方法的代码来,但是不好意思贴,还是等楼下一行党现身吧...

  • 为什么 Ruby China 论坛上一直让大家不让用 Windows 开发? at April 30, 2014

    #37 楼 @putty lol 看来您不知道 rubymine 是啥

  • Rspec 是在 Rails 目前用的最多的测试框架吗? at April 30, 2014

    #12 楼 @sufish 啥意思?重构和测试挂钩了?自动测试的概念出现前没有重构?重构基于测试?

  • [深圳] 创业公司招聘 RubyMotion 工程师 at April 30, 2014

    我了个去,居然有招 rubymotion 的人!顶一下

  • DHH: Test-induced design damage at April 30, 2014

    我觉得吧他有点用力过猛了..

  • 有木有生产模式下的性能日志 gem 丫,求推荐 at April 29, 2014

    #4 楼 @moliliang 免费帐号保存 24 小时,收费帐号一直保存,不是「而且」的关系

  • Array of Array Appending at April 29, 2014

    据我实验,楼主结论有误。

    1] pry(main)> x = [[]] * 4
    => [[], [], [], []]
    [2] pry(main)> x
    => [[], [], [], []]
    [3] pry(main)> x[0] << 1
    => [1]
    [4] pry(main)> x
    => [[1], [1], [1], [1]]
    [5] pry(main)> -------------
    [5] pry(main)*
    [5] pry(main)*
    [6] pry(main)> x = [[]] * 4
    => [[], [], [], []]
    [7] pry(main)> x
    => [[], [], [], []]
    [8] pry(main)> x << 1
    => [[], [], [], [], 1]
    [9] pry(main)> x
    => [[], [], [], [], 1]
    [10] pry(main)> x[0] << 1
    => [1]
    [11] pry(main)> x
    => [[1], [1], [1], [1], 1]
    [12] pry(main)>
    

    我估计是这样,这个x = [[]] * 4 是同一个空数组 (的指针) 重复了 4 次,用 x=[[], [], [], []] 才是建立了四个不一样的空数组。

  • rails new 一个新项目的问题 at April 29, 2014

    rails 啥版本?

  • Rspec 是在 Rails 目前用的最多的测试框架吗? at April 29, 2014

    还是自带的最多人用吧,rspec 第二?我是感觉的没有数据支持。

    tdd 可以学习,明白是怎么回事,未必每个项目都要用,具体情况具体分析

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