Browse Source

Fixed typo

tags/2.0.2
Alexander Makarov 10 years ago
parent
commit
23279fafc9
  1. 2
      docs/guide/db-active-record.md

2
docs/guide/db-active-record.md

@ -99,7 +99,7 @@ $customer->save();
> Note: Obviously, because column names become attribute names of the active record class directly, you > Note: Obviously, because column names become attribute names of the active record class directly, you
> get attribute names with underscores if you have that kind of naming schema in your database. For example > get attribute names with underscores if you have that kind of naming schema in your database. For example
> a column `user_name` will be accessed as `$user->user_name` on the active record object. If you are concerned about code style > a column `user_name` will be accessed as `$user->user_name` on the active record object. If you are concerned about code style
> you should adopt your database naming schema to use camelCase too. However, camelCase if not a requirement, Yii can work > you should adopt your database naming schema to use camelCase too. However, camelCase is not a requirement, Yii can work
> well with any other naming style. > well with any other naming style.

Loading…
Cancel
Save