Commit 53e96b29 by Alexander Makarov

Added note about scopes to upgrade guide

parent b1195760
...@@ -459,6 +459,8 @@ By default, ActiveRecord now only saves dirty attributes. In 1.1, all attributes ...@@ -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, are saved to database when you call `save()`, regardless of having changed or not,
unless you explicitly list the attributes to save. 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. See [active record docs](active-record.md) for more details.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment