From 2d070fd1e853e3b8ef10473c292f7252462118f2 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Fri, 23 May 2014 16:25:44 +0200 Subject: [PATCH] Update intro-upgrade-from-v1.md fixes #3555 --- docs/guide/intro-upgrade-from-v1.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/guide/intro-upgrade-from-v1.md b/docs/guide/intro-upgrade-from-v1.md index 185eedee01..7853dc0b19 100644 --- a/docs/guide/intro-upgrade-from-v1.md +++ b/docs/guide/intro-upgrade-from-v1.md @@ -458,6 +458,9 @@ public function init() } ``` +There where some problems with overriding the constructor of an ActiveRecord class in 1.1. These are not present in +version 2.0 anymore. Note that when adding parameters to the constructor you might have to override [[yii\db\ActiveRecord::instantiate()]]. + There are many other changes and enhancements to Active Record. Please refer to the [Active Record](db-active-record.md) section for more details.