3. Model に関する変更点 2013/10/03 シナジーマーケティング(株) 鈴木 圭 [Rails 4.0] 第3章 Model に関する変更点 3.1. attr_accessible から StrongParameters へ 3.2. 非推奨となった動的ファインダメソッド 3.3. scope には Proc オブジェクトの指定が必須 3.4. トランザクションの隔離レベルの指定 3.5. ActiveModel::Model モジュール 3.6. クエリ API の変更点 3.6.1. all が配列ではなく Relation を返す 3.6.2. pluck は複数カラムを指定可能 3.6.3. update_attributes は update のエイリアス 3.6.4. update_column の代わりに update_columns 3.6.5. none