Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed typo in active record's changelog

  • Loading branch information...
1 parent 2e28045 commit 71e4dfc9f40107922d656fbd8ea89a1f45569f2c @dimko dimko committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/
6 activerecord/
@@ -3,12 +3,12 @@
* Added functionality to unscope relations in a relations chain. For
instance, if you are passed in a chain of relations as follows:
- "John").order('id DESC')
+ User.where(name: "John").order('id DESC')
but you want to get rid of order, then this feature allows you to do:
- "John").order("id DESC").unscope(:order)
- == "John")
+ User.where(name: "John").order('id DESC').unscope(:order)
+ == User.where(name: "John")
The .unscope() function is more general than the .except() method because
.except() only works on the relation it is acting on. However, .unscope()

0 comments on commit 71e4dfc

Please sign in to comment.
Something went wrong with that request. Please try again.