日記
- RubyKaigi 2日目
- 聞いたセッションについて
jpmobileのベストプラクティス
- http://rubykaigi.org/2011/ja/schedule/details/17M02
- 昨年も聞いたような内容
- Rails 3.1 対応などの話
たのしいRails
- http://rubykaigi.org/2011/ja/schedule/details/17M03
- もっとも楽しみにしていたセッションかも
- Rails の開発について
- 朝起きたら git log を読むとか
- great social corder になるための tips とか
- Read Rails
- Read git log
- Good commit
- atomic, with tests, with a short commit comment, what
- English
- Live on the edge (try edge version)
- docrails
- share your monkey patch(instead write a blog post, push to upstream)
- start from a gem
- write a good comment
- attend RailsConf
Use rails_best_practices to refactor your rails codes
- http://rubykaigi.org/2011/ja/schedule/details/17S04
- rails_best_practices gem の紹介。使ってみよう
BDD style Unit Testing
5 years know-how of RSpec driven Rails app. development.
- http://rubykaigi.org/2011/ja/schedule/details/17M06
- テストの性質に合わせた、テスト用データの生成とか
Efficient JavaScript integration testing with Ruby and V8 engine.
- http://rubykaigi.org/2011/ja/schedule/details/17M07
- head-less browser を使ってJavaScriptのテストとか
- 複雑でよく理解できなかった気がする
MacRuby on Rails 〜MacRubyから見たcRuby〜
- http://rubykaigi.org/2011/ja/schedule/details/17S08
- MacRuby on Rails を目指して行ったことについて
The Gate
- http://rubykaigi.org/2011/ja/schedule/details/17M09
- 前半だけ。まとめを聞いていないので、コメントできない。聞いた人に感想を聞いたところ、いい話だったということでした
CRubyのロックデザインの解説および改善案について
- http://rubykaigi.org/2011/ja/schedule/details/17S10
- 難しいけど面白いシリーズ
- 一度ロックしてしまうと、その後スレッドがあまり切り替わらないという問題を解決するための工夫
Lightning Talks 1
- http://rubykaigi.org/2011/ja/schedule/details/17M10
- 研究室の人が発表!Rios Proxy
- 以下、メモ
config/initializer/ include jpmobile::ViewSelecter disable_mobile_view! ** testing request.mobile? assert_template * summary Session ID Management Encoding View Selection Email Testing/Issues * たのしいRails Social Coding pro tips: great social corder 1) Read Rails Read git log every morning 2) install hub g clone rails/rails b pull g log Rails 3.2/4 will be like How to improve a product/ test a software/ write good commit comment Check remarkable people - Stalk them online - Github - twitter - blog wycats carllerche 3) Good commit - atomic - with tests - with a short commit comment telling - what GitHubby 4) English know these 26 letters aware of the accents Rails Casts 5) Live on the edge - try edge version 6) docrails - rails guides $ git clone lifo/docrails s/a/an/g 7) share your monk patch Push it to the upstream instead write a blog post, push to upstream 8) start from a gem use edge gem 9) write a good comment 10) Attend RailsConf BDD, VDD * BDD style unit testing @ihower Unit test, Custom test(acceptance test) Regression test Minitest/Spec caveat rspec - let, its Bacon focus on the expected ~ * rspec driven rails app. development 達人出版会 write model test, Cucumber @railstokyo ** Model unit testing setup model multi strategies for multi data types *** 3 Data type - Master Data - Resource Data - Event Data -- Represent relatopnship betw resources *** 3 data generate - Fixture -- good speed -- less maintainability, flexibility - Fixture Replacement -- fabirication gem, factory girl -- frexible, powerful but difficult to use correctly, slow - before/setup block - fixture => Master Data - fixture replacement => Resource Data - before/setup => Event Data ** less DRY share your testing context - naming each let -- name each focusing object -- build strategy does not matter - naming them -- shared_context -- include context ** Conclusion - write model unit test - use multi strategies for multi types of data - share your testing context(shared_context) The rspec book. * V8 Headless Browser - HtmlUnit(Java) - Zombie(node.js) Mustang nu7hatch RubyRacer # ir_b Mike - Headless Chicken * MacRuby on Rails 自分 > 家族 > 社会