2018/08/08分のコミットです。
CHANGELOGへの追加はありませんでした。
Add lambdas in conditional validations
rails guideのActive Record Validations
の修正です。
Using a Proc with :if and :unless
の項にオプションにlambdaを使用した場合のexampleを追加しています。
Fix the obvious typos detected by github.com/client9/misspell
client9/misspellを使用してtypoしている箇所をまとめて修正しています。
activerecord/test/cases/arel/select_manager_test.rb
の修正です。
先のmisspellの対応で、intersect
を誤ってinteract
に変換している箇所があったのを修正しています。
ActiveRecord Basics guide: correct explanation of the updated_at
logic [ci skip]
rails guideのActive Record Basics
の修正です。
Schema Conventions
の項にあるupdated_at
について説明している箇所に、レコード作成時にも値が設定される旨説明を追加しています。