开机了没有?
怎么执行 rake db:migrate 和 seeds 啊?
#3 楼 @jinleileiking @heliang7 这个是 vim 上最强的补全插件(用着很爽,很快)。不过有几个特性要带有最近 patch 的 vim7.3 https://github.com/Shougo/neocomplcache 推荐配置
" neocomplcache
let g:neocomplcache_enable_insert_char_pre = 1
let g:neocomplcache_enable_at_startup = 1
let g:neocomplcache_enable_auto_select=1
我也是一上来就 rails,ruby 会的不是很多
ruby 好像发展的很慢啊,github 上好几天才会有人提交一下
新浪微博意境在用了
let mapleader="`"
要不单独弄一个 upload model 用 belongs_to ?
Started GET "/messages/1" for 127.0.0.1 at 2012-07-28 16:06:57 +0800
Processing by MessagesController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
[1m[35mActsAsMessageable::Message Load (0.4ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = 1 AND ((sent_messageable_type = 'User' and
sent_messageable_id = 1 and
sender_delete = 'f' and sender_permanent_delete = 'f') or
(received_messageable_type = 'User' and
received_messageable_id = 1 and
recipient_delete = 'f' and recipient_permanent_delete = 'f')) ORDER BY created_at desc LIMIT 1
[1m[36mActsAsMessageable::Message Load (0.4ms)[0m [1mSELECT "messages".* FROM "messages" WHERE (messages.id = 1 or messages.ancestry like '1/%' or messages.ancestry = '1') ORDER BY created_at desc[0m
Rendered messages/show.html.erb (2.7ms)
Completed 500 Internal Server Error in 10ms
ActionController::RoutingError (No route matches {:action=>"edit", :controller=>"notes", :id=>nil}):
app/views/messages/show.html.erb:18:in `_app_views_messages_show_html_erb__799486363__610448278'
Rendered /var/lib/gems/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
ctrlP 比 commandT 好
#1 楼 @jinleileiking #2 楼 @lichao #3 楼 @Rei #5 楼 @happypeter
git branch test
新建一个 test 分支
git checkout text
切换到新分支
echo modify_on_test_branch >> README
然后切换到 master 分支,为什么可以看到 modify_on_test_branch 的修改呢?
还有现在切换到 test 分支,git commit -am 'commit on test branch'
这样提交之后就在 master 分支看不到 modify_on_test_branch 的修改了,为什么呢?
#3 楼 @Rei #1 楼 @jinleileiking 嗯,在看这个书
Tips:不要按 Ctrl+W
现在的位置太不显眼了
ubuntu 挺好
放 tips 的话 ubuntu 中文论坛的那个位置不错
用 https 的吧,git 的慢的跟蜗牛一样
passenger 性能怎么样
这本书不好
#1 楼 @kenshin54 嗯,正在看这个
这东西不用 gem 也行吧 百度出的一个不错 http://ueditor.baidu.com/website/onlinedemo.html