From 647a80278277ba3bf3cc0f4dc19cdc44f88d8ae2 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 6 May 2013 20:33:03 -0300 Subject: [PATCH] Added dirty attribute description. --- docs/guide/upgrade-from-v1.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/guide/upgrade-from-v1.md b/docs/guide/upgrade-from-v1.md index 5da5254..3b24201 100644 --- a/docs/guide/upgrade-from-v1.md +++ b/docs/guide/upgrade-from-v1.md @@ -377,6 +377,11 @@ $customers = Customer::find()->asArray()->all(); ~~~ +By default, ActiveRecord now only saves dirty attributes. In 1.1, all attributes +would be saved to database when you call `save()`, regardless they are changed or not, +unless you explicitly list the attributes to save. + + Auto-quoting Table and Column Names ------------------------------------