Browse Source

Added note about scopes to upgrade guide

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
53e96b29ca
  1. 2
      docs/guide/upgrade-from-v1.md

2
docs/guide/upgrade-from-v1.md

@ -459,6 +459,8 @@ By default, ActiveRecord now only saves dirty attributes. In 1.1, all attributes
are saved to database when you call `save()`, regardless of having changed or not,
unless you explicitly list the attributes to save.
Scopes are now defined in a custom `ActiveQuery` class instead of model directly.
See [active record docs](active-record.md) for more details.

Loading…
Cancel
Save