diff options
author | Alexis Bernard <alexis@obloh.com> | 2012-10-30 15:54:16 +0100 |
---|---|---|
committer | Alexis Bernard <alexis@obloh.com> | 2012-11-08 17:52:54 +0100 |
commit | 16d98b2a41dec3619b9bd48b6b534406d9d07ef4 (patch) | |
tree | 9adbd54d6c0492703cb438a93326971e6382bc6d /activerecord/CHANGELOG.md | |
parent | 7031e365d6a8c00b62354f4abe8dff4802b38adf (diff) | |
download | rails-16d98b2a41dec3619b9bd48b6b534406d9d07ef4.tar.gz rails-16d98b2a41dec3619b9bd48b6b534406d9d07ef4.tar.bz2 rails-16d98b2a41dec3619b9bd48b6b534406d9d07ef4.zip |
Fix find_in_batches against string IDs when start option is not specified.
Conflicts:
activerecord/CHANGELOG.md
activerecord/lib/active_record/relation/batches.rb
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 3e071cfa01..483370de03 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,9 @@ ## Rails 3.2.9 (unreleased) +* Fix `find_in_batches` crashing when IDs are strings and start option is not specified. + + *Alexis Bernard* + * Fix issue with collection associations calling first(n)/last(n) and attempting to set the inverse association when `:inverse_of` was used. Fixes #8087. |