diff options
author | David Chelimsky + Brian Tatnall <dchelimsky@gmail.com> | 2010-05-14 16:30:12 -0500 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-15 08:38:28 +0200 |
commit | 35a114a8941cb22d29a536f1215a23a8cf7c4756 (patch) | |
tree | ab4191bbaa7a87735d9e4fb7cd80ac63bd578c2f /activesupport/README | |
parent | a0621c1086165e4b3cff71b54f08a190851b6314 (diff) | |
download | rails-35a114a8941cb22d29a536f1215a23a8cf7c4756.tar.gz rails-35a114a8941cb22d29a536f1215a23a8cf7c4756.tar.bz2 rails-35a114a8941cb22d29a536f1215a23a8cf7c4756.zip |
Modified default_scope to merge with any pre-existing default_scope
and added AR::Base::clear_default_scope
- clear_default_scope provides users who rely on the old behaviour
of each call to default_scope overwriting any previous default
scopes an opportunity to maintain that behaviour.
[#4583 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activesupport/README')
0 files changed, 0 insertions, 0 deletions