thoughtbot podcast Episode #14 ★★★
thoughtbot Learn Episode #14 Say goodbye to that big guy
Prem Sichanugrist
主にRails4の話 (2012 Oct 1)
31番目のRails contributor
Boston.rbのプレゼン動画がある
strong parameters
Rails4で最も大きい変更
sanitize params
replacement of attr accessible
easier, more granular
rails queue
standard api for rails queuing
ruby-queue
redis resque
cache digest
parent template
cache digest know hierarchy
cache digest detect hierarchy
どのfeatureも3.2.8から使える?
active record relation
Return relation not Array
relation.to_a
Model.none
can chain paginate etc.
null object pattern
relation supports bang
where!
bang mutate relation
not create object
some time handy
relation first last
didn't specify order before
lowest id order by id limit 1
notable deprecation
gemに分けられた
active resource
削除したメンバーの一人らしい
Rails contributorでmergeする権限は無い
common problem
Featureリクエストをissueに登録するのは問題
railsのメーリングリストに報告しないといけない
issueはminimal caseの再現方法が必要
昔inflectorの問題でRailsを修正したのがきっかけ
ContributeはDocumentのpatchが入りやすい
doc-rails
rails rumble
話が聞きやすい
内容が良かった
まだRails4本格的に動かしてないけどこのpodcast前から聞いてたらとっくに良い情報が手に入ってた
typoとか自動検出してたりしないのかな