aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-09-21 19:10:16 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2012-09-21 19:14:17 -0300
commiteb876c4d07130f15be2cac7be968cc393f959c62 (patch)
tree04914044df46ba84862b381052d025d2d7f1ac73 /activerecord/CHANGELOG.md
parent008eaebb562af7d95907b46e3d734312c795b2e0 (diff)
downloadrails-eb876c4d07130f15be2cac7be968cc393f959c62.tar.gz
rails-eb876c4d07130f15be2cac7be968cc393f959c62.tar.bz2
rails-eb876c4d07130f15be2cac7be968cc393f959c62.zip
Revert "Fix find_in_batches with customized primary_key"
This reverts commit 761bc751d31c22e2c2fdae2b4cdd435b68b6d783. This commit wasn't fixing any issue just using the same table for different models with different primary keys.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md15
1 files changed, 0 insertions, 15 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index aee8f8d1f7..04b67cdf3a 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -76,21 +76,6 @@
*kennyj*
-* Fix `find_in_batches` when primary_key is set other than id.
- You can now use this method with the primary key which is not integer-based.
-
- Example:
-
- class Post < ActiveRecord::Base
- self.primary_key = :title
- end
-
- Post.find_in_batches(start: 'My First Post') do |batch|
- batch.each { |post| post.author.greeting }
- end
-
- *Toshiyuki Kawanishi*
-
* You can now override the generated accessor methods for stored attributes
and reuse the original behavior with `read_store_attribute` and `write_store_attribute`,
which are counterparts to `read_attribute` and `write_attribute`.