Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix changelog indent [ci skip]

  • Loading branch information...
commit caf2390aee4ea0f097a219ee414d705dda63cc33 1 parent 84eac5d
Carlos Antonio da Silva carlosantoniodasilva authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 activerecord/CHANGELOG.md
12 activerecord/CHANGELOG.md
View
@@ -4,13 +4,13 @@
* Added ActiveRecord::QueryMethods#rewhere which will overwrite an existing, named where condition.
- Examples:
-
- Post.where(trashed: true).where(trashed: false) #=> WHERE `trashed` = 1 AND `trashed` = 0
- Post.where(trashed: true).rewhere(trashed: false) #=> WHERE `trashed` = 0
- Post.where(active: true).where(trashed: true).rewhere(trashed: false) #=> WHERE `active` = 1 AND `trashed` = 0
+ Examples:
- *DHH*
+ Post.where(trashed: true).where(trashed: false) #=> WHERE `trashed` = 1 AND `trashed` = 0
+ Post.where(trashed: true).rewhere(trashed: false) #=> WHERE `trashed` = 0
+ Post.where(active: true).where(trashed: true).rewhere(trashed: false) #=> WHERE `active` = 1 AND `trashed` = 0
+
+ *DHH*
* Extend ActiveRecord::Base#cache_key to take an optional list of timestamp attributes of which the highest will be used.
Please sign in to comment.
Something went wrong with that request. Please try again.