瞎扯淡 请用一句话证明你用过 ruby on rails!

ywencn · March 02, 2012 · Last by charles replied at July 20, 2012 · 9766 hits

最近微博上很流行这个呀,我们也来玩玩吧。。

我先来吧。。 New rails version released, please update.

DEPRECATION WARNING: XXX is deprecated and will be removed in future releases

我在,故我用。

=> Ctrl-C to shutdown server

rake db:test:prepare

Baby, you always belongs_to :me

难道不应该是这种格式吗?

我是某某作品/git 库的主人

^-^

我用的很频繁的命令倒是:powder open

rails console

#9 楼 @cxh116 你敲长了,rails c 即可

rake route

has_many :money

has_one :girl

特意到查了下,确实是 has_many 不是 have_many.嗯

15 分钟,我架了一个 blog。

#14 楼 @feitian124 用 has 就说明不是你的...可怜的亲啊... 我特意思考后用了 belongs_to 哈哈哈~ ---- 我发现我也犯 2 了... bleongs_to 也不是我的....

holy...shit... :D

#13 楼 @feitian124 应该这样 has_many_and_belongs_to_many :girls

attr_reader :a 你懂么

我一句话都不用,一个链接就可以了,嘿嘿 :D http://contributors.rubyonrails.org/contributors/fred-wu/commits

Women.find_by_figure_size_and_single("84,62,86", true)

i fork you!

Question.singleton_class.superclass == Question.superclass.singleton_class => true

rails new blog

3.days.ago

rake environment RAILS_ENV=test db:migrate

protect_from_forgery

class << self

rails -v

rails.js

UserMailer.love_letter(Girl.where('age<20')).deliver

gem install rails

girl = Girl.new # girl.save

Failed examples: rspec ./spec/requests/authentication_pages_spec.rb:33

rails g scaffold xxx

ruby 我是新手。。。。

We push the China Ruby & Rails community forward!!

irb: I really bundle

bundle install --local

rake routes |grep XXXX

rake asset:precompile

bundle install ;rake db:*****

vim Gemfile

extend ActiveSupport::Concern

cap deploy

resources :money

has_many :girls

女朋友们.push(girl)

bundle install

p 'Hello Ruby on Rails!'

习惯优于配置

#52 楼 @jasonchi 是“约定优于配置”吧?

靠这个帖子我在活跃会用户排行里终于超越虎跑了,哈哈哈哈哈

#55 楼 @ywencn 是么?你跟 @hooopo 是竞争关系啊,那么 @hooopo 要加油了,呵呵。

@ywencn @lgn21st 我也跑上去了。。

NoMethodError

大家好。

rails server

require 'me';def you_girls.make_love; include me;end

#49 楼 @poshboytl 哈哈~希望你的 girl 不懂 Ruby,否则....

渐渐地,回复的内容偏离了主题,并向邪恶方向前进中 XD

如果说 "zed shaw 把我拉黑了" 之类的我就信

每天刷 ruby-china.org

每天刷 ruby-china.org +100000

我在闲扯淡!

Unknow user #70 March 03, 2012

我擦,升了,又升了

ruby for food!

mvim .

@lgn21st 额...应该是习惯预定优于配置! “we are sorry but something went wrong!”竟然还没出现

@huacnlee 这贴是社区第一高楼吧。

#73 楼 @jasonchi 我本来就想写这个的,苦于这几个单词太复杂。不会拼写。。

Web development that doesn't hurt

thin start

#4 楼 @Rei django 自带的服务器也是这样推出的~~

tailf log/development.log

#78 楼 @lgn21st 貌似不同的书有不同的翻译。翻译成“习惯优于配置”、“约定优于配置”、“惯例优先原则”都有。我觉得对 over 的翻译还不够,应该翻译成约定结束配置,呵呵。

#80 楼 @vkill development.log 还需要 tail?

@lgn21st 额...我英语不是很好,不过看了翻译 convention 是有惯例,约定的意思啊!不过我也觉得‘约定优于配置’比‘习惯优于配置’更容易让人理解。

等我有钱了,我要买台 Mac,恩

#81 楼 @kevinhua 哈哈,这个顶!

#83 楼 @jasonchi 我的确见过其他得翻译,但是在中文语境中,习惯和约定得意思有不小得差异,Rails 得两个最基本得原则 DRY 和 COC 在中文语境中如果统一翻译的话,就最大限度帮助新手理解,呵呵。

#82 楼 @ywencn 哈哈,个人爱好噻

bundle show

那些年,我们一起追的火车.

girl.send :me

能到 100 楼吗?

git push heroku master

装环境:stackoverflow.com search xxx error xxxxxx error xxxxxxxxxxxx error

5.times do xxxx end

rails g or rails s

哦 对了 scaffold 这个概念是不是 rails 里最先有的啊?

ruby-china.org

100 楼自己坐了。。。

刷楼可耻。。

FactoryGirl.create_list(:girl, 5)

You need to Sign in before reply, if you don't have an account, please Sign up first.