Engineer Flies エンジニアは空を飛ぶ
Ruby, The Processing Language などについてのブログ
Showing posts with label
Links
.
Show all posts
Showing posts with label
Links
.
Show all posts
6 Mar 2013
Railsはどうやってコネクションをプールしているの?
- Rackがコネクションをプールしている
- 一個のスレッドは一個のコネクションしか持てない
http://stackoverflow.com/questions/5131772/how-does-the-rails-connection-pooling-work
- Rails2.2以前
Rails2.2以前のスレッドとコネクションの関係であればこちらの記事が分かりやすいです。良記事!
http://fmkt.blog65.fc2.com/blog-entry-138.html
7 Feb 2013
Capistrano関係のリンク
- Wiki home
https://github.com/capistrano/capistrano/wiki
- よく使う変数
https://github.com/capistrano/capistrano/wiki/2.x-Significant-Configuration-Variables
- CapistranoのTask一覧
https://github.com/capistrano/capistrano/wiki/Capistrano-Tasks
- Capistranoの予約変数
http://theadmin.org/articles/capistrano-variables/
24 Jan 2013
RSpecのベストプラクティス
オンライン上のRSpecのベストプラクティスって結構限られていますよね。Specの書き方の基本が分かると”ControllerのexampleでViewやModel出力のバリエイションを担保しない。”といったような一定のノウハウにそってスペックを書きつつコーディングもきれいに整頓していきたくなるところ。
-
Better Specs
Specそのものの書き方を学ぶならここ。Githubの議論付きで紹介しています。
-
RSpec Rails in Relish
ベストプラクティスと銘打っているわけではありませんがRailsのMVCHのスペックの書き方をここで学ぶことができます。
Older Posts
Home
Subscribe to:
Posts (Atom)