thoughtbot podcast Episode #13 ★
thoughtbot Learn Episode #13 I'll disagree in just a little bit
Joe Ferris, CTO of thoughtbot
Josh Clayton, developer at thoughtbot (the lead maintainer of FactoryGirl)
全体的にFactory Girlの話が多かった
ActiveRecord callbacksのBad practiceがどうのという話
persistence related
observer
sending email?
state machineはあまり好まない
method object使う
UserSaver
OrderCompleter
Middlewareでレイヤを変えて処理すると切り分けが楽
認証とか?
Rack cache
rack simple
Unit TestはDataのPersistenceを気にするべきではない
FactoryGirl.build使えば速くなる