diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-02 22:09:10 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-02 22:11:20 -0200 |
commit | 4d7080f80c1ec4792730943b33b6eac2a1562b2a (patch) | |
tree | 289bc98d545cbc9771ed70a4d8292abaae2ba03c /activerecord/lib | |
parent | 09447929a06a4650d82ed51af56e3365ec7583a6 (diff) | |
download | rails-4d7080f80c1ec4792730943b33b6eac2a1562b2a.tar.gz rails-4d7080f80c1ec4792730943b33b6eac2a1562b2a.tar.bz2 rails-4d7080f80c1ec4792730943b33b6eac2a1562b2a.zip |
unscope now works on default_scope after 94924dc32baf78f13e289172534c2e71c9c8cade
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index bffd8b5d0f..14d8671161 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -341,9 +341,6 @@ module ActiveRecord # User.where(name: "John", active: true).unscope(where: :name) # == User.where(active: true) # - # This method is applied before the default_scope is applied. So the conditions - # specified in default_scope will not be removed. - # # Note that this method is more generalized than ActiveRecord::SpawnMethods#except # because #except will only affect a particular relation's values. It won't wipe # the order, grouping, etc. when that relation is merged. For example: |