datastax_rails 1.0.18.7 → 1.0.18.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/datastax_rails/cql/select.rb +11 -0
- data/lib/datastax_rails/relation/batches.rb +87 -0
- data/lib/datastax_rails/relation.rb +12 -0
- data/lib/datastax_rails/version.rb +1 -1
- data/lib/datastax_rails.rb +1 -0
- data/spec/datastax_rails/relation/batches_spec.rb +32 -0
- data/spec/dummy/log/test.log +271 -0
- metadata +6 -4
- data/lib/datastax_rails/batches.rb +0 -35
@@ -7,6 +7,7 @@ module DatastaxRails#:nodoc:
|
|
7
7
|
@limit = nil
|
8
8
|
@conditions = {}
|
9
9
|
@order = nil
|
10
|
+
@paginate = nil
|
10
11
|
super
|
11
12
|
end
|
12
13
|
|
@@ -15,6 +16,11 @@ module DatastaxRails#:nodoc:
|
|
15
16
|
self
|
16
17
|
end
|
17
18
|
|
19
|
+
def paginate(start)
|
20
|
+
@paginate = start
|
21
|
+
self
|
22
|
+
end
|
23
|
+
|
18
24
|
def conditions(conditions)
|
19
25
|
@conditions.merge!(conditions)
|
20
26
|
self
|
@@ -34,6 +40,11 @@ module DatastaxRails#:nodoc:
|
|
34
40
|
conditions = []
|
35
41
|
values = []
|
36
42
|
stmt = "SELECT #{@select} FROM #{@klass.column_family} USING CONSISTENCY #{@consistency} "
|
43
|
+
|
44
|
+
if @paginate
|
45
|
+
conditions << "token(\"KEY\") > token('#{@paginate}')"
|
46
|
+
end
|
47
|
+
|
37
48
|
@conditions.each do |k,v|
|
38
49
|
values << v
|
39
50
|
if v.kind_of?(Array)
|
@@ -0,0 +1,87 @@
|
|
1
|
+
module DatastaxRails
|
2
|
+
module Batches
|
3
|
+
# Yields each record that was found by the find +options+. The find is
|
4
|
+
# performed by find_in_batches with a batch size of 1000 (or as
|
5
|
+
# specified by the <tt>:batch_size</tt> option).
|
6
|
+
#
|
7
|
+
# Example:
|
8
|
+
#
|
9
|
+
# Person.where("age > 21").find_each do |person|
|
10
|
+
# person.party_all_night!
|
11
|
+
# end
|
12
|
+
#
|
13
|
+
# Note: This method is only intended to use for batch processing of
|
14
|
+
# large amounts of records that wouldn't fit in memory all at once. If
|
15
|
+
# you just need to loop over less than 1000 records, it's probably
|
16
|
+
# better just to use the regular find methods.
|
17
|
+
#
|
18
|
+
# @param options [Hash] finder options
|
19
|
+
# @yield [record] a single DatastaxRails record
|
20
|
+
def find_each(options = {})
|
21
|
+
find_in_batches(options) do |records|
|
22
|
+
records.each { |record| yield record }
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
# Yields each batch of records that was found by the find +options+ as
|
27
|
+
# an array. The size of each batch is set by the <tt>:batch_size</tt>
|
28
|
+
# option; the default is 1000.
|
29
|
+
#
|
30
|
+
# You can control the starting point for the batch processing by
|
31
|
+
# supplying the <tt>:start</tt> option. This is especially useful if you
|
32
|
+
# want multiple workers dealing with the same processing queue. You can
|
33
|
+
# make worker 1 handle all the records between id 0 and 10,000 and
|
34
|
+
# worker 2 handle from 10,000 and beyond (by setting the <tt>:start</tt>
|
35
|
+
# option on that worker).
|
36
|
+
#
|
37
|
+
# It's not possible to set the order. That is automatically set according
|
38
|
+
# Cassandra's key placement strategy. Records are retrieved and returned
|
39
|
+
# using only Cassandra and no SOLR interaction. This also mean that this
|
40
|
+
# method only works with any type of primary key (unlike ActiveRecord).
|
41
|
+
# You can't set the limit, however. That's used to control the batch sizes.
|
42
|
+
#
|
43
|
+
# Example:
|
44
|
+
#
|
45
|
+
# Person.where("age > 21").find_in_batches do |group|
|
46
|
+
# sleep(50) # Make sure it doesn't get too crowded in there!
|
47
|
+
# group.each { |person| person.party_all_night! }
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# @param options [Hash] finder options
|
51
|
+
# @yeild [records] a batch of DatastaxRails records
|
52
|
+
def find_in_batches(options = {})
|
53
|
+
relation = self.with_cassandra
|
54
|
+
|
55
|
+
unless @order_values.empty? && @per_page_value.blank?
|
56
|
+
DatastaxRails::Base.logger.warn("Scoped order and limit are ignored, it's forced to be batch order and batch size")
|
57
|
+
end
|
58
|
+
|
59
|
+
if (finder_options = options.except(:start, :batch_size)).present?
|
60
|
+
raise "You can't specify an order, it's forced to be #{batch_order}" if options[:order].present?
|
61
|
+
raise "You can't specify a limit, it's forced to be the batch_size" if options[:limit].present?
|
62
|
+
|
63
|
+
relation = apply_finder_options(finder_options)
|
64
|
+
end
|
65
|
+
|
66
|
+
start = options.delete(:start)
|
67
|
+
batch_size = options.delete(:batch_size) || 1000
|
68
|
+
|
69
|
+
relation = relation.limit(batch_size)
|
70
|
+
records = start ? relation.where(:KEY).greater_than(start).to_a : relation.to_a
|
71
|
+
|
72
|
+
while records.size > 0
|
73
|
+
records_size = records.size
|
74
|
+
primary_key_offset = records.last.id
|
75
|
+
yield records
|
76
|
+
|
77
|
+
break if records_size < batch_size
|
78
|
+
|
79
|
+
if primary_key_offset
|
80
|
+
records = relation.where(:KEY).greater_than(primary_key_offset).to_a
|
81
|
+
else
|
82
|
+
raise "Primary key not included in the custom select clause"
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
@@ -20,6 +20,7 @@ module DatastaxRails
|
|
20
20
|
include FinderMethods
|
21
21
|
include SpawnMethods
|
22
22
|
include StatsMethods
|
23
|
+
include Batches
|
23
24
|
|
24
25
|
attr_reader :klass, :column_family, :loaded, :cql
|
25
26
|
alias :loaded? :loaded
|
@@ -252,6 +253,17 @@ module DatastaxRails
|
|
252
253
|
@where_values.each do |wv|
|
253
254
|
cql.conditions(wv)
|
254
255
|
end
|
256
|
+
@greater_than_values.each do |gtv|
|
257
|
+
gtv.each do |k,v|
|
258
|
+
# Special case if inequality is equal to the primary key (we're paginating)
|
259
|
+
if(k == :KEY)
|
260
|
+
cql.paginate(v)
|
261
|
+
end
|
262
|
+
end
|
263
|
+
end
|
264
|
+
if(@per_page_value)
|
265
|
+
cql.limit(@per_page_value)
|
266
|
+
end
|
255
267
|
results = []
|
256
268
|
CassandraCQL::Result.new(cql.execute).fetch do |row|
|
257
269
|
results << @klass.instantiate(row.row.key, row.to_hash, select_columns)
|
data/lib/datastax_rails.rb
CHANGED
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe DatastaxRails::Relation do
|
4
|
+
before(:each) do
|
5
|
+
@relation = DatastaxRails::Relation.new(Hobby, "hobbies")
|
6
|
+
('a'..'l').each do |letter|
|
7
|
+
Hobby.create(:name => letter)
|
8
|
+
end
|
9
|
+
Hobby.commit_solr
|
10
|
+
end
|
11
|
+
|
12
|
+
describe "#find_each" do
|
13
|
+
it "returns each record one at a time" do
|
14
|
+
missed_hobbies = ('a'..'l').to_a
|
15
|
+
@relation.find_each(:batch_size => 5) do |hobby|
|
16
|
+
missed_hobbies.delete_if {|h| h == hobby.name}
|
17
|
+
end
|
18
|
+
missed_hobbies.should be_empty
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
describe "#find_in_batches" do
|
23
|
+
it "returns records in batches of the given size" do
|
24
|
+
count = 12
|
25
|
+
@relation.find_in_batches(:batch_size => 5) do |batch|
|
26
|
+
batch.size.should <= 5
|
27
|
+
count -= batch.size
|
28
|
+
end
|
29
|
+
count.should == 0
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
data/spec/dummy/log/test.log
CHANGED
@@ -10813,3 +10813,274 @@ TRUNCATE boats
|
|
10813
10813
|
people insert (2.8ms) 6ec98afa-b800-11e2-9ce3-968869d9788b {"updated_at"=>"2013-05-08T16:57:57Z", "birthdate"=>"1980-10-19T00:00:00Z", "name"=>"Jason", "created_at"=>"2013-05-08T16:57:57Z", "nickname"=>"Jason"}
|
10814
10814
|
jobs insert (2.4ms) 6edc07c0-b800-11e2-8624-386e6d285193 {"updated_at"=>"2013-05-08T16:57:57Z", "title"=>"Engineer", "created_at"=>"2013-05-08T16:57:57Z"}
|
10815
10815
|
boats insert (1.7ms) 6ee4ab0a-b800-11e2-9795-2402438d0f30 {"updated_at"=>"2013-05-08T16:57:57Z", "created_at"=>"2013-05-08T16:57:57Z"}
|
10816
|
+
hobbies insert (5.0ms) 8f80b3a2-bc12-11e2-80c9-47142d37b04c {"name"=>"a", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10817
|
+
hobbies insert (6.1ms) 8f81f0f0-bc12-11e2-9ce7-cc7eb5e18cd6 {"name"=>"b", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10818
|
+
hobbies insert (2.8ms) 8f82fb94-bc12-11e2-88b5-65435898fea1 {"name"=>"c", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10819
|
+
hobbies insert (2.9ms) 8f83856e-bc12-11e2-947d-b712f1b0404d {"name"=>"d", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10820
|
+
hobbies insert (3.2ms) 8f84327a-bc12-11e2-8c8c-b84aaa9087ed {"name"=>"e", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10821
|
+
hobbies insert (4.4ms) 8f84c960-bc12-11e2-8077-4c13ffda5d03 {"name"=>"f", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10822
|
+
hobbies insert (4.7ms) 8f859322-bc12-11e2-8f3e-607abf6798ad {"name"=>"g", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10823
|
+
hobbies insert (14.9ms) 8f8667fc-bc12-11e2-9f3f-f7cd492ab4a0 {"name"=>"h", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10824
|
+
hobbies insert (3.8ms) 8f88cbaa-bc12-11e2-8eec-f71d3c11dd6f {"name"=>"i", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10825
|
+
hobbies insert (3.4ms) 8f89a1ec-bc12-11e2-89bd-4e1446e09781 {"name"=>"j", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10826
|
+
hobbies insert (5.7ms) 8f8a44a8-bc12-11e2-96b4-509331fdeaa7 {"name"=>"k", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10827
|
+
hobbies insert (3.4ms) 8f8b3e8a-bc12-11e2-968d-6ce86e4f708d {"name"=>"l", "updated_at"=>"2013-05-13T21:17:47Z", "created_at"=>"2013-05-13T21:17:47Z"}
|
10828
|
+
hobbies insert (5.3ms) ec28ca4a-bc12-11e2-87e1-6f8e964e47ca {"name"=>"a", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10829
|
+
hobbies insert (2.5ms) ec2a127e-bc12-11e2-940e-7cd002faa63c {"name"=>"b", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10830
|
+
hobbies insert (2.5ms) ec2a8fa6-bc12-11e2-8b2f-e9fd466b27b2 {"name"=>"c", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10831
|
+
hobbies insert (2.5ms) ec2b0ddc-bc12-11e2-96e6-cd1a01e3d561 {"name"=>"d", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10832
|
+
hobbies insert (2.5ms) ec2b8a14-bc12-11e2-8b9d-51c7da363abf {"name"=>"e", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10833
|
+
hobbies insert (2.5ms) ec2c0804-bc12-11e2-8177-2215595c25ab {"name"=>"f", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10834
|
+
hobbies insert (2.5ms) ec2c850e-bc12-11e2-825f-6802cc398337 {"name"=>"g", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10835
|
+
hobbies insert (2.5ms) ec2d0290-bc12-11e2-859c-ca5d888e1f0c {"name"=>"h", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10836
|
+
hobbies insert (2.5ms) ec2d7d2e-bc12-11e2-93be-0ddbc023f7c6 {"name"=>"i", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10837
|
+
hobbies insert (2.5ms) ec2df93e-bc12-11e2-9d94-620c037609d0 {"name"=>"j", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10838
|
+
hobbies insert (3.1ms) ec2e7710-bc12-11e2-89fd-e2ffb3e39390 {"name"=>"k", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10839
|
+
hobbies insert (3.5ms) ec2f0c3e-bc12-11e2-858d-002048c5c8e3 {"name"=>"l", "created_at"=>"2013-05-13T21:20:23Z", "updated_at"=>"2013-05-13T21:20:23Z"}
|
10840
|
+
hobbies insert (5.1ms) 1c0c22ca-bc13-11e2-861f-63b23f2f116c {"name"=>"a", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10841
|
+
hobbies insert (2.5ms) 1c0d5fc8-bc13-11e2-9496-12aee3275d52 {"name"=>"b", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10842
|
+
hobbies insert (2.4ms) 1c0ddcdc-bc13-11e2-9b0b-4babec33dc35 {"name"=>"c", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10843
|
+
hobbies insert (3.9ms) 1c0e56ee-bc13-11e2-845b-99fca9ecfd36 {"name"=>"d", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10844
|
+
hobbies insert (4.0ms) 1c0f0c6a-bc13-11e2-9615-99fd3e0c9a5c {"name"=>"e", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10845
|
+
hobbies insert (4.1ms) 1c0fc24a-bc13-11e2-90ae-e90d87eb145c {"name"=>"f", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10846
|
+
hobbies insert (3.4ms) 1c1080cc-bc13-11e2-9ea3-7b32ee30f50f {"name"=>"g", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10847
|
+
hobbies insert (2.6ms) 1c1120ae-bc13-11e2-8e3b-ef9b2377de8a {"name"=>"h", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10848
|
+
hobbies insert (3.0ms) 1c119ff2-bc13-11e2-9baa-986af4eff174 {"name"=>"i", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10849
|
+
hobbies insert (3.0ms) 1c1231b0-bc13-11e2-803a-ca1138801d9d {"name"=>"j", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10850
|
+
hobbies insert (2.9ms) 1c12c210-bc13-11e2-8fd0-9d98fd3032c0 {"name"=>"k", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10851
|
+
hobbies insert (3.2ms) 1c134fdc-bc13-11e2-8149-0f521934e7a1 {"name"=>"l", "created_at"=>"2013-05-13T21:21:43Z", "updated_at"=>"2013-05-13T21:21:43Z"}
|
10852
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10853
|
+
hobbies insert (4.4ms) 411632b8-bc13-11e2-9468-fe6a403a5478 {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"a", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10854
|
+
hobbies insert (4.0ms) 41175a1c-bc13-11e2-8230-d49df7c543a1 {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"b", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10855
|
+
hobbies insert (3.8ms) 4118133a-bc13-11e2-84b2-f49424fcf7f9 {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"c", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10856
|
+
hobbies insert (2.7ms) 4118c578-bc13-11e2-8327-b01c8842d480 {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"d", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10857
|
+
hobbies insert (2.5ms) 41198922-bc13-11e2-8022-07e73a5121be {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"e", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10858
|
+
hobbies insert (2.4ms) 411a0578-bc13-11e2-88e3-0d7f98d5fa3e {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"f", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10859
|
+
hobbies insert (2.8ms) 411a8066-bc13-11e2-8c46-ec9f7d04f5d4 {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"g", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10860
|
+
hobbies insert (2.5ms) 411b09fa-bc13-11e2-9e58-33f9338448c7 {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"h", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10861
|
+
hobbies insert (3.8ms) 411b8768-bc13-11e2-9631-91fae2af901d {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"i", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10862
|
+
hobbies insert (2.7ms) 411c3f50-bc13-11e2-9d5e-a4ec30744600 {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"j", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10863
|
+
hobbies insert (2.6ms) 411cc4fc-bc13-11e2-90c8-4bbe2a7f05de {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"k", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10864
|
+
hobbies insert (2.7ms) 411d453a-bc13-11e2-96f0-7c95a33c8622 {"created_at"=>"2013-05-13T21:22:45Z", "name"=>"l", "updated_at"=>"2013-05-13T21:22:45Z"}
|
10865
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10866
|
+
hobbies insert (4.8ms) 502ef168-bc13-11e2-9152-3396049a6e17 {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"a"}
|
10867
|
+
hobbies insert (2.9ms) 503026e6-bc13-11e2-83f2-57632180db1f {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"b"}
|
10868
|
+
hobbies insert (2.5ms) 5030b4bc-bc13-11e2-8151-6ffdb8256ef6 {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"c"}
|
10869
|
+
hobbies insert (2.3ms) 50313234-bc13-11e2-8500-1cbe587725f4 {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"d"}
|
10870
|
+
hobbies insert (2.2ms) 5031aa84-bc13-11e2-8ff1-a48700c71435 {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"e"}
|
10871
|
+
hobbies insert (3.3ms) 50321de8-bc13-11e2-9d4c-bbf37bb08a85 {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"f"}
|
10872
|
+
hobbies insert (2.3ms) 5032bd98-bc13-11e2-9d61-6b8a3e66a29a {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"g"}
|
10873
|
+
hobbies insert (2.8ms) 5033330e-bc13-11e2-9c4b-97b3ec406c36 {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"h"}
|
10874
|
+
hobbies insert (2.3ms) 5033bda6-bc13-11e2-9ee3-d79be897ddcc {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"i"}
|
10875
|
+
hobbies insert (2.2ms) 50343394-bc13-11e2-9f67-95d331fcd3c4 {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"j"}
|
10876
|
+
hobbies insert (4.6ms) 5034a6f8-bc13-11e2-9d9d-4f64f85d8246 {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"k"}
|
10877
|
+
hobbies insert (3.3ms) 5035788a-bc13-11e2-957e-825f3e1508c4 {"created_at"=>"2013-05-13T21:23:11Z", "updated_at"=>"2013-05-13T21:23:11Z", "name"=>"l"}
|
10878
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10879
|
+
hobbies insert (3.8ms) 5b159118-bc13-11e2-8542-46c51f370e40 {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"a", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10880
|
+
hobbies insert (2.3ms) 5b16a030-bc13-11e2-95e2-c07fc999e313 {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"b", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10881
|
+
hobbies insert (2.0ms) 5b17184e-bc13-11e2-8ea2-e5c69a468418 {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"c", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10882
|
+
hobbies insert (2.0ms) 5b1783a6-bc13-11e2-85c3-74c6779f9c10 {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"d", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10883
|
+
hobbies insert (3.7ms) 5b17f084-bc13-11e2-88f2-b03f8866c521 {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"e", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10884
|
+
hobbies insert (2.0ms) 5b189ce6-bc13-11e2-908d-83a545960802 {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"f", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10885
|
+
hobbies insert (3.3ms) 5b19064a-bc13-11e2-8868-06ddcb0568a1 {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"g", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10886
|
+
hobbies insert (2.3ms) 5b19a7f8-bc13-11e2-8819-1def97de8ea7 {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"h", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10887
|
+
hobbies insert (2.9ms) 5b1a1ee0-bc13-11e2-9640-23bfa313c9ae {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"i", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10888
|
+
hobbies insert (2.0ms) 5b1aaee6-bc13-11e2-8014-9691f42cb80f {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"j", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10889
|
+
hobbies insert (2.1ms) 5b1b16ce-bc13-11e2-83c6-30f02d68e52f {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"k", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10890
|
+
hobbies insert (4.5ms) 5b1b8e6a-bc13-11e2-9c3e-d7ed3d6799b5 {"created_at"=>"2013-05-13T21:23:29Z", "name"=>"l", "updated_at"=>"2013-05-13T21:23:29Z"}
|
10891
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10892
|
+
hobbies insert (3.9ms) 6991a876-bc13-11e2-821c-a02f95c343ae {"name"=>"a", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10893
|
+
hobbies insert (1.9ms) 6992b838-bc13-11e2-96db-fcf4195f252a {"name"=>"b", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10894
|
+
hobbies insert (1.9ms) 699320a2-bc13-11e2-808d-6c793d2a5449 {"name"=>"c", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10895
|
+
hobbies insert (2.1ms) 69938862-bc13-11e2-9da9-ccc3addbcd39 {"name"=>"d", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10896
|
+
hobbies insert (3.5ms) 6993f84c-bc13-11e2-9eae-4fa4ccb1c3ed {"name"=>"e", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10897
|
+
hobbies insert (5.9ms) 69949fa4-bc13-11e2-992f-068446597531 {"name"=>"f", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10898
|
+
hobbies insert (2.5ms) 6995a516-bc13-11e2-8877-f8ba2de61326 {"name"=>"g", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10899
|
+
hobbies insert (4.0ms) 6996240a-bc13-11e2-952a-b1a3984395a3 {"name"=>"h", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10900
|
+
hobbies insert (2.8ms) 6996dfda-bc13-11e2-881e-c2f2530ac715 {"name"=>"i", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10901
|
+
hobbies insert (2.4ms) 699771f2-bc13-11e2-86c0-ab8b18ebfce4 {"name"=>"j", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10902
|
+
hobbies insert (4.4ms) 6997efba-bc13-11e2-88bf-6a87babedc9a {"name"=>"k", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10903
|
+
hobbies insert (3.3ms) 6998b8b4-bc13-11e2-9968-935c063c7312 {"name"=>"l", "created_at"=>"2013-05-13T21:23:53Z", "updated_at"=>"2013-05-13T21:23:53Z"}
|
10904
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10905
|
+
hobbies insert (3.7ms) 6503f826-bc14-11e2-9f23-7fa0b7bc7dca {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"a"}
|
10906
|
+
hobbies insert (2.1ms) 6504fd0c-bc14-11e2-9e78-61ee25a7c1ff {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"b"}
|
10907
|
+
hobbies insert (2.7ms) 65056b7a-bc14-11e2-9624-a70d6a4c598a {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"c"}
|
10908
|
+
hobbies insert (8.0ms) 6505f1da-bc14-11e2-8861-0739c7d51e29 {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"d"}
|
10909
|
+
hobbies insert (3.8ms) 65074d78-bc14-11e2-8d60-3b56fa9fe2b0 {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"e"}
|
10910
|
+
hobbies insert (4.8ms) 6507fd68-bc14-11e2-9eb5-7e51b40f9cb6 {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"f"}
|
10911
|
+
hobbies insert (1.7ms) 6508d454-bc14-11e2-85a3-323b7b23e0c8 {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"g"}
|
10912
|
+
hobbies insert (1.7ms) 6509337c-bc14-11e2-8c53-51b27f7ffa68 {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"h"}
|
10913
|
+
hobbies insert (2.5ms) 650993da-bc14-11e2-8c43-45f6d702bddc {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"i"}
|
10914
|
+
hobbies insert (2.5ms) 650a1094-bc14-11e2-87de-99dfe21dddcf {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"j"}
|
10915
|
+
hobbies insert (2.5ms) 650a8e02-bc14-11e2-989a-426fa6eb2d17 {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"k"}
|
10916
|
+
hobbies insert (3.1ms) 650b0c38-bc14-11e2-9366-d129b2917ac8 {"updated_at"=>"2013-05-13T21:30:55Z", "created_at"=>"2013-05-13T21:30:55Z", "name"=>"l"}
|
10917
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10918
|
+
hobbies insert (3.3ms) 7ed35148-bc14-11e2-856f-a5698b11dbe1 {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"a"}
|
10919
|
+
hobbies insert (2.8ms) 7ed46790-bc14-11e2-82ba-532ff196485b {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"b"}
|
10920
|
+
hobbies insert (1.8ms) 7ed4f192-bc14-11e2-811a-34a05454d97e {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"c"}
|
10921
|
+
hobbies insert (1.6ms) 7ed5539e-bc14-11e2-8598-3729fb6d106f {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"d"}
|
10922
|
+
hobbies insert (1.5ms) 7ed5aee8-bc14-11e2-9f25-11d2b88b2c9b {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"e"}
|
10923
|
+
hobbies insert (1.4ms) 7ed60410-bc14-11e2-8dbb-03e355b9a2e0 {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"f"}
|
10924
|
+
hobbies insert (1.5ms) 7ed657b2-bc14-11e2-854d-f8beb096f6e7 {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"g"}
|
10925
|
+
hobbies insert (1.5ms) 7ed6ac58-bc14-11e2-8d02-f9aed120e420 {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"h"}
|
10926
|
+
hobbies insert (1.4ms) 7ed7005e-bc14-11e2-8d2a-6305d5a73f3e {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"i"}
|
10927
|
+
hobbies insert (3.3ms) 7ed752a2-bc14-11e2-8777-bf8f51bae1a9 {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"j"}
|
10928
|
+
hobbies insert (1.7ms) 7ed7f02c-bc14-11e2-8c09-d8f4596bad60 {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"k"}
|
10929
|
+
hobbies insert (3.3ms) 7ed84c52-bc14-11e2-9a1e-63e726397a36 {"created_at"=>"2013-05-13T21:31:38Z", "updated_at"=>"2013-05-13T21:31:38Z", "name"=>"l"}
|
10930
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10931
|
+
hobbies insert (3.0ms) a22121de-bc14-11e2-8819-9c9e5b529b9c {"updated_at"=>"2013-05-13T21:32:37Z", "created_at"=>"2013-05-13T21:32:37Z", "name"=>"a"}
|
10932
|
+
hobbies insert (2.3ms) a222106c-bc14-11e2-813f-35aeffe3604b {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"b"}
|
10933
|
+
hobbies insert (3.1ms) a22286dc-bc14-11e2-8e17-4f67d32d4b8d {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"c"}
|
10934
|
+
hobbies insert (3.7ms) a2231fb6-bc14-11e2-9e6f-8a1a79c730af {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"d"}
|
10935
|
+
hobbies insert (1.5ms) a223cfd8-bc14-11e2-842e-13a9bb8e31e7 {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"e"}
|
10936
|
+
hobbies insert (2.0ms) a2242640-bc14-11e2-8a50-c15b37b64758 {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"f"}
|
10937
|
+
hobbies insert (2.0ms) a224913e-bc14-11e2-9bb5-f2b565e7f676 {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"g"}
|
10938
|
+
hobbies insert (1.5ms) a224fc1e-bc14-11e2-9fcd-4f5d4a5ae162 {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"h"}
|
10939
|
+
hobbies insert (1.6ms) a22553a8-bc14-11e2-9a5c-0c76df98c7b6 {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"i"}
|
10940
|
+
hobbies insert (2.4ms) a225afe2-bc14-11e2-9be7-eba3cf8adf4d {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"j"}
|
10941
|
+
hobbies insert (1.5ms) a22629e0-bc14-11e2-822d-ecc2dc0c679b {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"k"}
|
10942
|
+
hobbies insert (1.5ms) a22680d4-bc14-11e2-85fe-22cb26f94121 {"updated_at"=>"2013-05-13T21:32:38Z", "created_at"=>"2013-05-13T21:32:38Z", "name"=>"l"}
|
10943
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10944
|
+
hobbies insert (3.3ms) c1759d58-bc14-11e2-9808-b40ecb0fa682 {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"a"}
|
10945
|
+
hobbies insert (1.8ms) c17697c6-bc14-11e2-9a94-d67a160d41d5 {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"b"}
|
10946
|
+
hobbies insert (1.7ms) c176fd6a-bc14-11e2-9038-bec9c3dbaefa {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"c"}
|
10947
|
+
hobbies insert (1.7ms) c1775c60-bc14-11e2-9b80-6d102674ebe8 {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"d"}
|
10948
|
+
hobbies insert (1.8ms) c177bd72-bc14-11e2-846d-f7ba8fa8cad0 {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"e"}
|
10949
|
+
hobbies insert (2.1ms) c1781efc-bc14-11e2-9592-9bfd14f4832a {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"f"}
|
10950
|
+
hobbies insert (2.5ms) c1788b58-bc14-11e2-9c07-377890a622e3 {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"g"}
|
10951
|
+
hobbies insert (2.3ms) c1790952-bc14-11e2-9a30-cca557eaa77a {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"h"}
|
10952
|
+
hobbies insert (1.7ms) c1797f22-bc14-11e2-881e-8f0dff21b879 {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"i"}
|
10953
|
+
hobbies insert (1.9ms) c179dbc0-bc14-11e2-8bca-35ffd131cb6b {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"j"}
|
10954
|
+
hobbies insert (1.6ms) c17a6126-bc14-11e2-9e9f-98b0dfcf9a6f {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"k"}
|
10955
|
+
hobbies insert (1.5ms) c17ada20-bc14-11e2-80f0-e541bb02a990 {"updated_at"=>"2013-05-13T21:33:30Z", "created_at"=>"2013-05-13T21:33:30Z", "name"=>"l"}
|
10956
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10957
|
+
hobbies insert (3.3ms) 3c8d7678-bc15-11e2-9204-bd2f863f82dd {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"a", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10958
|
+
hobbies insert (1.7ms) 3c8e73ac-bc15-11e2-942b-2e6bc44c29b0 {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"b", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10959
|
+
hobbies insert (1.7ms) 3c8ed2b6-bc15-11e2-823e-e1804bd70ee7 {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"c", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10960
|
+
hobbies insert (1.7ms) 3c8f3026-bc15-11e2-89f7-080580366f48 {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"d", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10961
|
+
hobbies insert (1.7ms) 3c8f8e7c-bc15-11e2-9ad2-a39504622ea3 {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"e", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10962
|
+
hobbies insert (1.7ms) 3c8feb88-bc15-11e2-9b59-9a2e9baf5ce0 {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"f", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10963
|
+
hobbies insert (1.7ms) 3c904934-bc15-11e2-8818-8c484032d95c {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"g", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10964
|
+
hobbies insert (2.0ms) 3c90a5b4-bc15-11e2-8766-489232e703ce {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"h", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10965
|
+
hobbies insert (1.7ms) 3c9198b6-bc15-11e2-90e4-0def604efe5e {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"i", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10966
|
+
hobbies insert (5.3ms) 3c91f84c-bc15-11e2-8707-e9d78f8b3cf7 {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"j", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10967
|
+
hobbies insert (1.7ms) 3c92e41e-bc15-11e2-8fe4-d38c48d8a78e {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"k", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10968
|
+
hobbies insert (4.6ms) 3c9340ee-bc15-11e2-931d-4976d32edf28 {"created_at"=>"2013-05-13T21:36:57Z", "name"=>"l", "updated_at"=>"2013-05-13T21:36:57Z"}
|
10969
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10970
|
+
hobbies insert (3.6ms) 7f2cd654-bc15-11e2-87dd-37b363e2846c {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"a"}
|
10971
|
+
hobbies insert (1.8ms) 7f2dd900-bc15-11e2-845a-2dd5be050e6b {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"b"}
|
10972
|
+
hobbies insert (1.6ms) 7f2e3f08-bc15-11e2-9a33-bbf38b905f6c {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"c"}
|
10973
|
+
hobbies insert (2.7ms) 7f2e9ac0-bc15-11e2-8cd4-b0abb24d2efc {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"d"}
|
10974
|
+
hobbies insert (2.4ms) 7f2f2080-bc15-11e2-984c-d896900b197a {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"e"}
|
10975
|
+
hobbies insert (1.7ms) 7f2f98da-bc15-11e2-86f7-bc156f42d012 {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"f"}
|
10976
|
+
hobbies insert (1.7ms) 7f2ff50a-bc15-11e2-8eb6-5f2496d056e1 {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"g"}
|
10977
|
+
hobbies insert (1.9ms) 7f30518a-bc15-11e2-94b0-9317ccf2dce6 {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"h"}
|
10978
|
+
hobbies insert (1.8ms) 7f30b8aa-bc15-11e2-8c89-a6198c621d22 {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"i"}
|
10979
|
+
hobbies insert (1.6ms) 7f311c3c-bc15-11e2-809a-3c3614b6e80c {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"j"}
|
10980
|
+
hobbies insert (2.2ms) 7f3177d6-bc15-11e2-8b24-886ce1d6de48 {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"k"}
|
10981
|
+
hobbies insert (1.8ms) 7f31e7fc-bc15-11e2-978e-014e8b9caa88 {"updated_at"=>"2013-05-13T21:38:48Z", "created_at"=>"2013-05-13T21:38:48Z", "name"=>"l"}
|
10982
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10983
|
+
hobbies insert (3.6ms) 8790e06a-bc15-11e2-923b-319b8e2b21b5 {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"a"}
|
10984
|
+
hobbies insert (2.4ms) 8791e7f8-bc15-11e2-9325-375b9bca4a8d {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"b"}
|
10985
|
+
hobbies insert (1.8ms) 87926354-bc15-11e2-9bab-87434b22ad9f {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"c"}
|
10986
|
+
hobbies insert (4.5ms) 8792c556-bc15-11e2-831d-f7ddd3d795e5 {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"d"}
|
10987
|
+
hobbies insert (3.1ms) 87939eae-bc15-11e2-9d19-2ccb85ffe806 {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"e"}
|
10988
|
+
hobbies insert (3.1ms) 8794351c-bc15-11e2-9a0a-1a02a28db0da {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"f"}
|
10989
|
+
hobbies insert (3.0ms) 8794d012-bc15-11e2-8038-d8b33dc073eb {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"g"}
|
10990
|
+
hobbies insert (3.5ms) 8795673e-bc15-11e2-938a-94156849694a {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"h"}
|
10991
|
+
hobbies insert (2.4ms) 87960cac-bc15-11e2-91a1-3c3c4f38ed4e {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"i"}
|
10992
|
+
hobbies insert (1.6ms) 879685ba-bc15-11e2-85c0-558fdacb3b6d {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"j"}
|
10993
|
+
hobbies insert (2.3ms) 8796e0dc-bc15-11e2-9194-1a168c4def0b {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"k"}
|
10994
|
+
hobbies insert (1.7ms) 879758d2-bc15-11e2-9722-8666ac05d810 {"updated_at"=>"2013-05-13T21:39:02Z", "created_at"=>"2013-05-13T21:39:02Z", "name"=>"l"}
|
10995
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
10996
|
+
hobbies insert (3.1ms) 8c4678ea-bc15-11e2-89b5-14de2f62bc3b {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"a"}
|
10997
|
+
hobbies insert (1.5ms) 8c476b56-bc15-11e2-901f-04ab8b81618d {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"b"}
|
10998
|
+
hobbies insert (2.7ms) 8c47c3bc-bc15-11e2-958f-acd0695580a0 {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"c"}
|
10999
|
+
hobbies insert (1.9ms) 8c48503e-bc15-11e2-8b6e-e1298cd77fbe {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"d"}
|
11000
|
+
hobbies insert (3.3ms) 8c48b4fc-bc15-11e2-8176-75a20bd5af8d {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"e"}
|
11001
|
+
hobbies insert (1.5ms) 8c4987b0-bc15-11e2-8045-bb16f31b5387 {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"f"}
|
11002
|
+
hobbies insert (1.5ms) 8c49de72-bc15-11e2-8c7e-cd30ae70f101 {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"g"}
|
11003
|
+
hobbies insert (3.3ms) 8c4a393a-bc15-11e2-8374-cd6cced44c53 {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"h"}
|
11004
|
+
hobbies insert (2.8ms) 8c4ad9c6-bc15-11e2-8a8e-80da93c3a9e3 {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"i"}
|
11005
|
+
hobbies insert (1.6ms) 8c4b613e-bc15-11e2-93fb-158dca65f8fd {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"j"}
|
11006
|
+
hobbies insert (2.2ms) 8c4bba6c-bc15-11e2-82fb-974b459a23c9 {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"k"}
|
11007
|
+
hobbies insert (2.2ms) 8c4c3118-bc15-11e2-8d83-769685302b82 {"updated_at"=>"2013-05-13T21:39:10Z", "created_at"=>"2013-05-13T21:39:10Z", "name"=>"l"}
|
11008
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
11009
|
+
hobbies insert (3.8ms) e79460ae-bc15-11e2-9c0f-f95d38bb9f2c {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"a", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11010
|
+
hobbies insert (2.6ms) e7956bde-bc15-11e2-9a52-40c1558cf191 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"b", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11011
|
+
hobbies insert (1.8ms) e795eece-bc15-11e2-8bfb-6dcb9e521ac3 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"c", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11012
|
+
hobbies insert (2.9ms) e7964ebe-bc15-11e2-9653-bcdcda96a015 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"d", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11013
|
+
hobbies insert (1.8ms) e796fdb4-bc15-11e2-8bde-dc6922b0ac61 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"e", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11014
|
+
hobbies insert (1.8ms) e797609c-bc15-11e2-95c3-066a4b28f766 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"f", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11015
|
+
hobbies insert (1.7ms) e797c230-bc15-11e2-952b-8a6b8394b40a {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"g", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11016
|
+
hobbies insert (2.4ms) e798205e-bc15-11e2-8474-283f49ec474b {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"h", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11017
|
+
hobbies insert (1.7ms) e7989822-bc15-11e2-8df2-72f8b41ed2c9 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"i", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11018
|
+
hobbies insert (1.7ms) e798f470-bc15-11e2-9ace-8a3598508a1c {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"j", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11019
|
+
hobbies insert (1.7ms) e79954b0-bc15-11e2-8509-6a6769edfd07 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"k", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11020
|
+
hobbies insert (1.8ms) e799b4dc-bc15-11e2-9c98-e9fe7127b5f6 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"l", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11021
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
11022
|
+
hobbies insert (2.2ms) e7d5e1e6-bc15-11e2-9568-ae407244a3f3 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"a", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11023
|
+
hobbies insert (1.8ms) e7d654e6-bc15-11e2-9c95-fd4370ae72ba {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"b", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11024
|
+
hobbies insert (1.9ms) e7d6b5f8-bc15-11e2-8756-4142ef84e8d9 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"c", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11025
|
+
hobbies insert (1.7ms) e7d71aca-bc15-11e2-990d-d1a231324c83 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"d", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11026
|
+
hobbies insert (1.5ms) e7d77970-bc15-11e2-90cb-f6c78c9e545e {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"e", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11027
|
+
hobbies insert (1.5ms) e7d7cdbc-bc15-11e2-8411-198f8ae198b8 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"f", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11028
|
+
hobbies insert (2.2ms) e7d82f32-bc15-11e2-8edf-bbe801477ff0 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"g", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11029
|
+
hobbies insert (1.5ms) e7d8a0f2-bc15-11e2-9255-e38dce409656 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"h", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11030
|
+
hobbies insert (1.4ms) e7d8f638-bc15-11e2-8c02-ba04997d6dec {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"i", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11031
|
+
hobbies insert (1.5ms) e7d94a66-bc15-11e2-928b-4f26cd3b9a2d {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"j", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11032
|
+
hobbies insert (1.5ms) e7d9a0d8-bc15-11e2-8192-534c8b923d3e {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"k", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11033
|
+
hobbies insert (1.6ms) e7d9f60a-bc15-11e2-897d-ef9b422aeab0 {"created_at"=>"2013-05-13T21:41:44Z", "name"=>"l", "updated_at"=>"2013-05-13T21:41:44Z"}
|
11034
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
11035
|
+
hobbies insert (3.1ms) f1c206bc-bc15-11e2-8c37-78273993fdc9 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"a", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11036
|
+
hobbies insert (1.6ms) f1c2f978-bc15-11e2-85a7-d80f879704b6 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"b", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11037
|
+
hobbies insert (2.4ms) f1c35468-bc15-11e2-924b-42d0783bd330 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"c", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11038
|
+
hobbies insert (2.7ms) f1c3cf9c-bc15-11e2-8729-692d6c725c11 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"d", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11039
|
+
hobbies insert (1.5ms) f1c455a2-bc15-11e2-9cc8-83e00047e746 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"e", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11040
|
+
hobbies insert (2.6ms) f1c4ac5a-bc15-11e2-93a0-37b7dcbd6344 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"f", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11041
|
+
hobbies insert (2.2ms) f1c52ee6-bc15-11e2-996c-4d2a95204808 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"g", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11042
|
+
hobbies insert (1.7ms) f1c5a290-bc15-11e2-92eb-23c943866666 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"h", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11043
|
+
hobbies insert (2.3ms) f1c5ff56-bc15-11e2-8c6b-70c6dc535bc7 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"i", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11044
|
+
hobbies insert (1.8ms) f1c67f94-bc15-11e2-8a44-93b3c0130210 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"j", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11045
|
+
hobbies insert (1.5ms) f1c6e286-bc15-11e2-9878-f9e580e2006f {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"k", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11046
|
+
hobbies insert (1.6ms) f1c73696-bc15-11e2-9c05-8745217956be {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"l", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11047
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
11048
|
+
hobbies insert (2.7ms) f1ee2c6a-bc15-11e2-9868-3effd5973ab7 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"a", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11049
|
+
hobbies insert (2.1ms) f1eeb676-bc15-11e2-8109-ea4334178d96 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"b", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11050
|
+
hobbies insert (1.9ms) f1ef23c2-bc15-11e2-82aa-a324891793ea {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"c", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11051
|
+
hobbies insert (2.9ms) f1ef8b6e-bc15-11e2-8f3a-c77b3ed2792f {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"d", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11052
|
+
hobbies insert (2.1ms) f1f01598-bc15-11e2-86b9-5a27b73c094f {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"e", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11053
|
+
hobbies insert (1.9ms) f1f09b76-bc15-11e2-8b67-078b7d5c7e0e {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"f", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11054
|
+
hobbies insert (1.6ms) f1f0ffb2-bc15-11e2-878b-f26501c040e0 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"g", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11055
|
+
hobbies insert (3.1ms) f1f15c28-bc15-11e2-9194-36295590e270 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"h", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11056
|
+
hobbies insert (1.6ms) f1f1f052-bc15-11e2-95d0-d58873c073c9 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"i", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11057
|
+
hobbies insert (3.0ms) f1f249bc-bc15-11e2-882f-5e09db12b307 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"j", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11058
|
+
hobbies insert (1.6ms) f1f2fd6c-bc15-11e2-82f4-39bdf5cb12fc {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"k", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11059
|
+
hobbies insert (1.5ms) f1f357a8-bc15-11e2-9cf5-c5d288ba30b3 {"created_at"=>"2013-05-13T21:42:01Z", "name"=>"l", "updated_at"=>"2013-05-13T21:42:01Z"}
|
11060
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
11061
|
+
hobbies insert (3.5ms) f655e4a0-bc15-11e2-9f61-c0a739c7a178 {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"a", "created_at"=>"2013-05-13T21:42:08Z"}
|
11062
|
+
hobbies insert (1.4ms) f656e4b8-bc15-11e2-9cc8-30bf7144b4f3 {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"b", "created_at"=>"2013-05-13T21:42:08Z"}
|
11063
|
+
hobbies insert (1.9ms) f657372e-bc15-11e2-8f79-da1e29348e78 {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"c", "created_at"=>"2013-05-13T21:42:08Z"}
|
11064
|
+
hobbies insert (1.5ms) f6579b60-bc15-11e2-8fc5-1df2e44238e5 {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"d", "created_at"=>"2013-05-13T21:42:08Z"}
|
11065
|
+
hobbies insert (1.5ms) f657efac-bc15-11e2-951d-2b0b37836e4d {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"e", "created_at"=>"2013-05-13T21:42:08Z"}
|
11066
|
+
hobbies insert (1.7ms) f6584772-bc15-11e2-92a4-2886f49a5b57 {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"f", "created_at"=>"2013-05-13T21:42:08Z"}
|
11067
|
+
hobbies insert (1.4ms) f658a5d2-bc15-11e2-8fbf-e9aa2ff8d2e4 {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"g", "created_at"=>"2013-05-13T21:42:08Z"}
|
11068
|
+
hobbies insert (1.4ms) f658f848-bc15-11e2-90cb-2b68395d8f9b {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"h", "created_at"=>"2013-05-13T21:42:08Z"}
|
11069
|
+
hobbies insert (1.4ms) f6594abe-bc15-11e2-9e95-114347e57d50 {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"i", "created_at"=>"2013-05-13T21:42:08Z"}
|
11070
|
+
hobbies insert (1.4ms) f6599da2-bc15-11e2-9ea2-64f7a2280704 {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"j", "created_at"=>"2013-05-13T21:42:08Z"}
|
11071
|
+
hobbies insert (2.7ms) f659f112-bc15-11e2-82b4-e4b809c08d91 {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"k", "created_at"=>"2013-05-13T21:42:08Z"}
|
11072
|
+
hobbies insert (1.4ms) f65a7736-bc15-11e2-851d-2dc43b2080c8 {"updated_at"=>"2013-05-13T21:42:08Z", "name"=>"l", "created_at"=>"2013-05-13T21:42:08Z"}
|
11073
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
11074
|
+
hobbies insert (1.9ms) f6909ed8-bc15-11e2-8829-64854511ece5 {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"a", "created_at"=>"2013-05-13T21:42:09Z"}
|
11075
|
+
hobbies insert (1.6ms) f691067a-bc15-11e2-8dcb-def0ea018e00 {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"b", "created_at"=>"2013-05-13T21:42:09Z"}
|
11076
|
+
hobbies insert (1.5ms) f6915d8c-bc15-11e2-88e9-069ee596dd89 {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"c", "created_at"=>"2013-05-13T21:42:09Z"}
|
11077
|
+
hobbies insert (1.6ms) f691b12e-bc15-11e2-91fe-9fac95153870 {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"d", "created_at"=>"2013-05-13T21:42:09Z"}
|
11078
|
+
hobbies insert (1.4ms) f6920a70-bc15-11e2-9c85-002bcc6dddbf {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"e", "created_at"=>"2013-05-13T21:42:09Z"}
|
11079
|
+
hobbies insert (1.6ms) f6925be2-bc15-11e2-8d15-88eff4f5e95c {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"f", "created_at"=>"2013-05-13T21:42:09Z"}
|
11080
|
+
hobbies insert (1.5ms) f692b6be-bc15-11e2-918b-04fc33617aae {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"g", "created_at"=>"2013-05-13T21:42:09Z"}
|
11081
|
+
hobbies insert (1.5ms) f6930b0a-bc15-11e2-8d35-d3cd6947e016 {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"h", "created_at"=>"2013-05-13T21:42:09Z"}
|
11082
|
+
hobbies insert (2.6ms) f6935ea2-bc15-11e2-8a51-e310a8e0d31f {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"i", "created_at"=>"2013-05-13T21:42:09Z"}
|
11083
|
+
hobbies insert (1.5ms) f693de72-bc15-11e2-9dd9-64e5a1e1a56c {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"j", "created_at"=>"2013-05-13T21:42:09Z"}
|
11084
|
+
hobbies insert (1.4ms) f69432fa-bc15-11e2-8977-97d9a2859ff9 {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"k", "created_at"=>"2013-05-13T21:42:09Z"}
|
11085
|
+
hobbies insert (1.5ms) f694857a-bc15-11e2-98c5-833da6ac9a5e {"updated_at"=>"2013-05-13T21:42:09Z", "name"=>"l", "created_at"=>"2013-05-13T21:42:09Z"}
|
11086
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datastax_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 18
|
10
|
-
-
|
11
|
-
version: 1.0.18.
|
10
|
+
- 8
|
11
|
+
version: 1.0.18.8
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Jason M. Kusar
|
@@ -110,7 +110,6 @@ files:
|
|
110
110
|
- lib/datastax_rails/schema/migration_proxy.rb
|
111
111
|
- lib/datastax_rails/schema/migration.rb
|
112
112
|
- lib/datastax_rails/schema/migrator.rb
|
113
|
-
- lib/datastax_rails/batches.rb
|
114
113
|
- lib/datastax_rails/serializers/xml_serializer.rb
|
115
114
|
- lib/datastax_rails/scoping.rb
|
116
115
|
- lib/datastax_rails/callbacks.rb
|
@@ -179,6 +178,7 @@ files:
|
|
179
178
|
- lib/datastax_rails/base.rb
|
180
179
|
- lib/datastax_rails/grouped_collection.rb
|
181
180
|
- lib/datastax_rails/payload_model.rb
|
181
|
+
- lib/datastax_rails/relation/batches.rb
|
182
182
|
- lib/datastax_rails/relation/stats_methods.rb
|
183
183
|
- lib/datastax_rails/relation/search_methods.rb
|
184
184
|
- lib/datastax_rails/relation/finder_methods.rb
|
@@ -217,6 +217,7 @@ files:
|
|
217
217
|
- spec/datastax_rails/associations/has_many_association_spec.rb
|
218
218
|
- spec/datastax_rails/relation_spec.rb
|
219
219
|
- spec/datastax_rails/associations_spec.rb
|
220
|
+
- spec/datastax_rails/relation/batches_spec.rb
|
220
221
|
- spec/datastax_rails/relation/search_methods_spec.rb
|
221
222
|
- spec/datastax_rails/relation/spawn_methods_spec.rb
|
222
223
|
- spec/datastax_rails/relation/modification_methods_spec.rb
|
@@ -309,6 +310,7 @@ test_files:
|
|
309
310
|
- spec/datastax_rails/associations/has_many_association_spec.rb
|
310
311
|
- spec/datastax_rails/relation_spec.rb
|
311
312
|
- spec/datastax_rails/associations_spec.rb
|
313
|
+
- spec/datastax_rails/relation/batches_spec.rb
|
312
314
|
- spec/datastax_rails/relation/search_methods_spec.rb
|
313
315
|
- spec/datastax_rails/relation/spawn_methods_spec.rb
|
314
316
|
- spec/datastax_rails/relation/modification_methods_spec.rb
|
@@ -1,35 +0,0 @@
|
|
1
|
-
module DatastaxRails
|
2
|
-
module Batches
|
3
|
-
extend ActiveSupport::Concern
|
4
|
-
|
5
|
-
module ClassMethods
|
6
|
-
def find_each
|
7
|
-
connection.each(column_family) do |k, v|
|
8
|
-
yield instantiate(k, v)
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
def find_in_batches(options = {})
|
13
|
-
batch_size = options.delete(:batch_size) || 1000
|
14
|
-
|
15
|
-
batch = []
|
16
|
-
|
17
|
-
find_each do |record|
|
18
|
-
batch << record
|
19
|
-
if batch.size == batch_size
|
20
|
-
yield(batch)
|
21
|
-
batch = []
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
if batch.size > 0
|
26
|
-
yield batch
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
def batch(&block)
|
31
|
-
connection.batch(&block)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|