- 19 12月, 2014 1 次提交
-
-
由 Michael Dawson 提交于
I find that `Specifies the starting point for the batch processing.` does not give enough information for me to understand what this parameter actually does.
-
- 04 12月, 2014 1 次提交
-
-
由 Isaac Seymour 提交于
Clarify that batching methods can be used with any orderable type primary key, not just integer ones, as per @a58cafeb
-
- 29 7月, 2014 1 次提交
-
-
由 Ponomarev Nikolay 提交于
-
- 06 2月, 2014 2 次提交
-
-
由 Marc-Andre Lafortune 提交于
-
由 Marc-Andre Lafortune 提交于
-
- 30 1月, 2014 2 次提交
-
-
由 Marc-Andre Lafortune 提交于
-
由 Marc-Andre Lafortune 提交于
-
- 21 1月, 2014 1 次提交
-
-
由 Alexander Balashov 提交于
Before this patch find_in_batches raises this error only on second iteration. So you will know about the problem only when you get the batch size threshold.
-
- 06 12月, 2013 1 次提交
-
-
由 Marc-Andre Lafortune 提交于
can be chained with other `Enumerable` methods.
-
- 17 9月, 2013 1 次提交
-
-
由 Vipul A M 提交于
-
- 28 6月, 2013 1 次提交
-
-
由 Dmitry Polushkin 提交于
-
- 19 6月, 2013 1 次提交
-
-
由 Ben Woosley 提交于
This lets us do things like call: .find_each.with_index
-
- 07 6月, 2013 2 次提交
-
-
由 Thiago Pinto 提交于
-
由 Thiago Pinto 提交于
-
- 31 10月, 2012 1 次提交
-
-
由 Alexis Bernard 提交于
-
- 09 10月, 2012 1 次提交
-
-
由 Jeffrey Hardy 提交于
-
- 22 9月, 2012 2 次提交
-
-
由 Santiago Pastorino 提交于
Related to 761bc751 and eb876c4d
-
由 Santiago Pastorino 提交于
This reverts commit 761bc751. This commit wasn't fixing any issue just using the same table for different models with different primary keys.
-
- 16 9月, 2012 1 次提交
-
-
由 Toshiyuki Kawanishi 提交于
-
- 03 8月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
-
- 28 7月, 2012 1 次提交
-
-
由 Jon Leighton 提交于
It has been moved to active_record_deprecated_finders. Use #to_a instead.
-
- 18 7月, 2012 1 次提交
-
-
由 Oscar Del Ben 提交于
-
- 31 5月, 2012 1 次提交
-
-
由 Vijay Dev 提交于
-
- 28 5月, 2012 1 次提交
-
-
由 Alvaro Pereyra 提交于
-
- 14 4月, 2012 1 次提交
-
-
由 Jon Leighton 提交于
-
- 05 9月, 2011 1 次提交
-
-
由 Arun Agrawal 提交于
Fixes #2832
-
- 07 7月, 2011 1 次提交
-
-
由 knapo 提交于
This caused that `find_each` was producing extra db call taking all the records from db, and was less efficient than `ActiveRecord::Base#all`.
-
- 22 6月, 2011 1 次提交
-
-
由 Caius Durling 提交于
Currently if the code that calls .find_in_batches modifies the yielded array in place then .find_in_batches can enter an infinite loop searching with ruby object ids in the database instead of the primary key of records in the database. This happens because it naively assumes the yielded array hasn't been modified before calling #id on the last object in the array. And ruby (1.8 at least) alias' #id to #object_id so an integer is still returned no matter what the last object is. By moving finding the #id of the last object before yielding the array it means the calling code can do whatever it wants to the array in terms of modifying it in place, and .find_in_batches doesn't care.
-
- 30 3月, 2011 1 次提交
-
-
由 Andrew White 提交于
-
- 18 2月, 2011 1 次提交
-
-
由 Nicholas Rowe 提交于
-
- 04 1月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
ActiveRecord::Relation#primary_key should return a string, just like ActiveRecord::Base.primary_key does.
-
- 22 9月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 11 9月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 05 8月, 2010 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 09 5月, 2010 2 次提交
-
-
由 Pratik Naik 提交于
-
由 Josh Kalderimis 提交于
corrected AR find_each and find_in_batches to raise when the user uses select but does not specify the primary key Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 29 3月, 2010 1 次提交
-
-
由 Emilio Tagua 提交于
-
- 28 3月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 13 2月, 2010 1 次提交
-
-
由 Pratik Naik 提交于
-