human_attributes 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6852d543a6bd4e642ae907b2ad208261151c26d8
4
- data.tar.gz: bee00b07e2bb8bbc6dd2995b92c03e3e64fbe42f
3
+ metadata.gz: c4d6f0fb624d3950053b3f1b8bd90e8636b8e6b5
4
+ data.tar.gz: 9cef22ac036c4d4bb7393e43d3feef399b7d7bd6
5
5
  SHA512:
6
- metadata.gz: 6d86cc67c665b2ba71de7a755dca9f9955880a726be5161fd21e6fe21bc7d74f16637ea91ac75d69fdb7287812d67b7bddcb11ff8d7f710101fedb4bcc2fb8e2
7
- data.tar.gz: a49ef0b112c2a756960b5d8408c0ef13a5f8696f55c3f4d24918a69cd1ec51aa4303875c382b6552ab8e6c2ffebdb9a57951824b790cfdb8d4859dcbe981bd90
6
+ metadata.gz: 471d7481a168069a4df9f6fcd3edb98fb0ed3537c48626ddf1c04445166baf0f2a746f15077127cd4f5db85e36c42d7f86703173fbe5954dd4585718c5b76077
7
+ data.tar.gz: dc8a6b407d4c9379fbf188f76b8a7bce9dbbcc7013d0e0bc60ed21f5d08188e4e0f3ef0527987dc5c3897195881c76bad1fe1a3a0af0d2209fb06c11dc7a7200
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ### v0.3.0
6
+
7
+ ##### Added
8
+
9
+ * Integration with Draper gem
10
+
5
11
  ### v0.2.0
6
12
 
7
13
  ##### Added
data/Gemfile.lock CHANGED
@@ -1,8 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- human_attributes (0.2.0)
5
- enumerize (~> 1, >= 1.1.1)
4
+ human_attributes (0.3.0)
6
5
  factory_girl_rails (~> 4.6)
7
6
  rails (~> 4.2, >= 4.2.0)
8
7
 
@@ -49,6 +48,11 @@ GEM
49
48
  coderay (1.1.1)
50
49
  concurrent-ruby (1.0.2)
51
50
  diff-lcs (1.2.5)
51
+ draper (2.1.0)
52
+ actionpack (>= 3.0)
53
+ activemodel (>= 3.0)
54
+ activesupport (>= 3.0)
55
+ request_store (~> 1.0)
52
56
  enumerize (1.1.1)
53
57
  activesupport (>= 3.2)
54
58
  erubis (2.7.0)
@@ -135,6 +139,7 @@ GEM
135
139
  rb-fsevent (0.9.7)
136
140
  rb-inotify (0.9.7)
137
141
  ffi (>= 0.5.0)
142
+ request_store (1.3.1)
138
143
  rspec (3.4.0)
139
144
  rspec-core (~> 3.4.0)
140
145
  rspec-expectations (~> 3.4.0)
@@ -176,6 +181,8 @@ PLATFORMS
176
181
  ruby
177
182
 
178
183
  DEPENDENCIES
184
+ draper (~> 2.1.0)
185
+ enumerize (~> 1, >= 1.1.1)
179
186
  guard-rspec (~> 4.7)
180
187
  human_attributes!
181
188
  pry
data/README.md CHANGED
@@ -16,6 +16,7 @@ It's a Gem to convert ActiveRecord models' attributes and methods to human reada
16
16
  - [Suffix](#suffix)
17
17
  - [Multiple Formatters](#multiple-formatters)
18
18
  - [Humanize Active Record Attributes](#humanize-active-record-attributes)
19
+ - [Integration with Draper Gem](#draper-integration)
19
20
  - [Rake Task](#rake-task)
20
21
 
21
22
  ## Installation
@@ -364,31 +365,83 @@ The `humanize_attributes` method will infer from the attribute's data type which
364
365
  With our `Purchase` model we will get:
365
366
 
366
367
  ```ruby
367
- human_id => Purchase: #1
368
- human_paid => Yes
369
- human_commission => 1000.990%
370
- human_quantity => 1
371
- human_expired_at => Fri, 06 Apr 1984 09:00:00 +0000
372
- expired_at_to_short_date => Apr 06
373
- expired_at_to_long_date => Apr 06
374
- expired_at_to_short_datetime => 06 Apr 09:00
375
- expired_at_to_long_datetime => 06 Apr 09:00
376
- human_amount => $2,000,000.95
377
- human_created_at => Sat, 10 Dec 2016 21:18:15 +0000
378
- created_at_to_short_date => Dec 10
379
- created_at_to_long_date => Dec 10
380
- created_at_to_short_datetime => 10 Dec 21:18
381
- created_at_to_long_datetime => 10 Dec 21:18
382
- human_updated_at => Sat, 10 Dec 2016 21:18:15 +0000
383
- updated_at_to_short_date => Dec 10
384
- updated_at_to_long_date => Dec 10
385
- updated_at_to_short_datetime => 10 Dec 21:18
386
- updated_at_to_long_datetime => 10 Dec 21:18
387
- human_state => Pending
368
+ purchase.human_id
369
+ purchase.human_paid
370
+ purchase.human_commission
371
+ purchase.human_quantity
372
+ purchase.human_expired_at
373
+ purchase.expired_at_to_short_date
374
+ purchase.expired_at_to_long_date
375
+ purchase.expired_at_to_short_datetime
376
+ purchase.expired_at_to_long_datetime
377
+ purchase.human_amount
378
+ purchase.human_created_at
379
+ purchase.created_at_to_short_date
380
+ purchase.created_at_to_long_date
381
+ purchase.created_at_to_short_datetime
382
+ purchase.created_at_to_long_datetime
383
+ purchase.human_updated_at
384
+ purchase.updated_at_to_short_date
385
+ purchase.updated_at_to_long_date
386
+ purchase.updated_at_to_short_datetime
387
+ purchase.updated_at_to_long_datetime
388
388
  ```
389
389
 
390
390
  > You can pass to `humanize_attributes` the option `only: [:attr1, :attr2]` to humanize specific attributes. The `except` option works in similar way.
391
391
 
392
+ ### Integration with Draper Gem
393
+
394
+ If you are thinking that the formatting functionality is a **view related issue**, you are right. Because of this, we made the integration with [Draper gem](https://github.com/drapergem/draper). Using draper, you can move all your humanizers to your model's decorator.
395
+
396
+ With...
397
+
398
+ ```ruby
399
+ class Purchase < ActiveRecord::Base
400
+ extend Enumerize
401
+
402
+ STATES = %i{pending canceled finished}
403
+
404
+ enumerize :state, in: STATES, default: :pending
405
+
406
+ humanize :state, enumerize: true
407
+ humanize :commission, percentage: true
408
+ humanize :amount, currency: true
409
+ end
410
+ ```
411
+
412
+ You can refactor your code like this:
413
+
414
+ ```ruby
415
+ class Purchase < ActiveRecord::Base
416
+ extend Enumerize
417
+
418
+ STATES = %i{pending canceled finished}
419
+
420
+ enumerize :state, in: STATES, default: :pending
421
+ end
422
+
423
+ class PurchaseDecorator < Draper::Decorator
424
+ delegate_all
425
+
426
+ humanize :state, enumerize: true
427
+ humanize :commission, percentage: true
428
+ humanize :amount, currency: true
429
+ end
430
+ ```
431
+
432
+ Then, you can use it, like this:
433
+
434
+ ```ruby
435
+ purchase.human_amount #=> NoMethodError: undefined method `human_amount'
436
+ purchase.decorate.human_amount #=> $2,000,000.95
437
+ ```
438
+
439
+ It's not mandatory to use draper as decorator. You can extend whatever you want including `HumanAttributes::Extension`. For example:
440
+
441
+ ```ruby
442
+ Draper::Decorator.send(:include, HumanAttributes::Extension)
443
+ ```
444
+
392
445
  ### Rake Task
393
446
 
394
447
  You can run, from your terminal, the following task to show defined human attributes for a particular ActiveRecord model.
@@ -420,12 +473,21 @@ human_paid => Yes
420
473
  human_commission => 1000.990%
421
474
  human_quantity => 1
422
475
  human_expired_at => Fri, 06 Apr 1984 09:00:00 +0000
423
- expired_at_to_short_date => 06 Apr 09:00
476
+ expired_at_to_short_date => Apr 06
477
+ expired_at_to_long_date => Apr 06
478
+ expired_at_to_short_datetime => 06 Apr 09:00
479
+ expired_at_to_long_datetime => 06 Apr 09:00
424
480
  human_amount => $2,000,000.95
425
- human_created_at => Sat, 10 Dec 2016 20:06:28 +0000
426
- created_at_to_short_date => 10 Dec 20:06
427
- human_updated_at => Sat, 10 Dec 2016 20:06:28 +0000
428
- updated_at_to_short_date => 10 Dec 20:06
481
+ human_created_at => Sat, 10 Dec 2016 21:18:15 +0000
482
+ created_at_to_short_date => Dec 10
483
+ created_at_to_long_date => Dec 10
484
+ created_at_to_short_datetime => 10 Dec 21:18
485
+ created_at_to_long_datetime => 10 Dec 21:18
486
+ human_updated_at => Sat, 10 Dec 2016 21:18:15 +0000
487
+ updated_at_to_short_date => Dec 10
488
+ updated_at_to_long_date => Dec 10
489
+ updated_at_to_short_datetime => 10 Dec 21:18
490
+ updated_at_to_long_datetime => 10 Dec 21:18
429
491
  human_state => Pending
430
492
  ```
431
493
 
@@ -20,8 +20,9 @@ Gem::Specification.new do |s|
20
20
  s.test_files = Dir["spec/**/*"]
21
21
 
22
22
  s.add_dependency "rails", "~> 4.2", ">= 4.2.0"
23
- s.add_dependency "enumerize", "~> 1", ">= 1.1.1"
24
23
  s.add_dependency "factory_girl_rails", "~> 4.6"
24
+ s.add_development_dependency "enumerize", "~> 1", ">= 1.1.1"
25
+ s.add_development_dependency "draper", "~> 2.1.0"
25
26
  s.add_development_dependency "pry"
26
27
  s.add_development_dependency "pry-rails"
27
28
  s.add_development_dependency "sqlite3"
@@ -1,4 +1,3 @@
1
- require "enumerize"
2
1
  require "human_attributes/engine"
3
2
 
4
3
  module HumanAttributes
@@ -19,7 +19,7 @@ module HumanAttributes
19
19
  require_relative "./formatters/enumerize"
20
20
  require_relative "./formatters/custom"
21
21
  require_relative "./method_builder"
22
- require_relative "./active_record_extension"
22
+ require_relative "./extension"
23
23
  end
24
24
  end
25
25
  end
@@ -1,43 +1,43 @@
1
1
  module HumanAttributes
2
2
  module Error
3
- class NotImplemented < Exception
3
+ class NotImplemented < RuntimeError
4
4
  def initialize
5
5
  super("formatter not implemented")
6
6
  end
7
7
  end
8
8
 
9
- class InvalidHumanizeConfig < Exception
9
+ class InvalidHumanizeConfig < RuntimeError
10
10
  def initialize
11
11
  super("humanize options needs to be a Hash")
12
12
  end
13
13
  end
14
14
 
15
- class NotEnumerizeAttribute < Exception
15
+ class NotEnumerizeAttribute < RuntimeError
16
16
  def initialize
17
17
  super("needs to be an Enumerize::Value object")
18
18
  end
19
19
  end
20
20
 
21
- class MissingFormatterOption < Exception
21
+ class MissingFormatterOption < RuntimeError
22
22
  def initialize
23
23
  super("custom type needs formatter option with a proc")
24
24
  end
25
25
  end
26
26
 
27
- class InvalidType < Exception
27
+ class InvalidType < RuntimeError
28
28
  def initialize
29
29
  types = HumanAttributes::Config::TYPES.map { |t| t[:name] }
30
30
  super("type needs to be one of: #{types.join(', ')}")
31
31
  end
32
32
  end
33
33
 
34
- class RequiredAttributeType < Exception
34
+ class RequiredAttributeType < RuntimeError
35
35
  def initialize
36
36
  super("type is required")
37
37
  end
38
38
  end
39
39
 
40
- class InvalidAttributeOptions < Exception
40
+ class InvalidAttributeOptions < RuntimeError
41
41
  def initialize
42
42
  super("options needs to be a Hash")
43
43
  end
@@ -1,5 +1,5 @@
1
1
  module HumanAttributes
2
- module ActiveRecordExtension
2
+ module Extension
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  class_methods do
@@ -60,4 +60,10 @@ module HumanAttributes
60
60
  end
61
61
  end
62
62
 
63
- ActiveRecord::Base.send(:include, HumanAttributes::ActiveRecordExtension)
63
+ ActiveRecord::Base.send(:include, HumanAttributes::Extension)
64
+
65
+ begin
66
+ Draper::Decorator.send(:include, HumanAttributes::Extension)
67
+ rescue NameError
68
+ nil
69
+ end
@@ -1,3 +1,3 @@
1
1
  module HumanAttributes
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -0,0 +1,5 @@
1
+ class PurchaseDecorator < Draper::Decorator
2
+ delegate_all
3
+
4
+ humanize :quantity, currency: { suffix: "as_draper_example", default: 0 }
5
+ end
@@ -14,6 +14,8 @@
14
14
  # updated_at :datetime not null
15
15
  #
16
16
 
17
+ require "enumerize"
18
+
17
19
  class Purchase < ActiveRecord::Base
18
20
  extend Enumerize
19
21
 
Binary file
@@ -14,3 +14,31 @@ Migrating to CreatePurchases (20161113032308)
14
14
  Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
15
15
  Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
16
16
  Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
17
+ Purchase Load (0.4ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
18
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
19
+  (0.1ms) begin transaction
20
+ SQL (1.9ms) INSERT INTO "purchases" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", "pending"], ["created_at", "2016-12-18 15:54:31.837322"], ["updated_at", "2016-12-18 15:54:31.837322"]]
21
+  (0.9ms) commit transaction
22
+  (0.1ms) begin transaction
23
+ SQL (0.2ms) INSERT INTO "purchases" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", "pending"], ["created_at", "2016-12-18 15:54:34.004324"], ["updated_at", "2016-12-18 15:54:34.004324"]]
24
+  (1.3ms) commit transaction
25
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
26
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
27
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
28
+ Purchase Load (0.1ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
29
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
30
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
31
+ Purchase Load (0.1ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
32
+ SQL (0.9ms) UPDATE "purchases" SET "commission" = 22 WHERE "purchases"."id" = ? [["id", 2]]
33
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
34
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
35
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
36
+ Purchase Load (0.1ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
37
+ Purchase Load (1.0ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
38
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
39
+ Purchase Load (0.4ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
40
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
41
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
42
+ Purchase Load (0.5ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
43
+ Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
44
+ Purchase Load (1.0ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1
@@ -29637,3 +29637,1690 @@ Migrating to CreatePurchases (20161113032308)
29637
29637
  SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 21:19:13.053688"], ["updated_at", "2016-12-10 21:19:13.053688"]]
29638
29638
   (0.0ms) RELEASE SAVEPOINT active_record_1
29639
29639
   (0.3ms) rollback transaction
29640
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
29641
+  (1.0ms) CREATE TABLE "purchases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid" boolean, "commission" decimal, "quantity" integer, "state" varchar, "expired_at" datetime, "amount" decimal, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
29642
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
29643
+  (0.1ms) select sqlite_version(*)
29644
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
29645
+  (0.1ms) SELECT version FROM "schema_migrations"
29646
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
29647
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
29648
+  (0.1ms) begin transaction
29649
+  (0.1ms) rollback transaction
29650
+  (0.0ms) begin transaction
29651
+  (0.0ms) rollback transaction
29652
+  (0.0ms) begin transaction
29653
+  (0.0ms) rollback transaction
29654
+  (0.0ms) begin transaction
29655
+  (0.0ms) rollback transaction
29656
+  (0.0ms) begin transaction
29657
+  (0.1ms) rollback transaction
29658
+  (0.1ms) begin transaction
29659
+  (0.0ms) rollback transaction
29660
+  (0.1ms) begin transaction
29661
+  (0.1ms) rollback transaction
29662
+  (0.1ms) begin transaction
29663
+  (0.1ms) rollback transaction
29664
+  (0.1ms) begin transaction
29665
+  (0.1ms) rollback transaction
29666
+  (0.1ms) begin transaction
29667
+  (0.1ms) rollback transaction
29668
+  (0.0ms) begin transaction
29669
+  (0.0ms) rollback transaction
29670
+  (0.0ms) begin transaction
29671
+  (0.1ms) rollback transaction
29672
+  (0.1ms) begin transaction
29673
+  (0.2ms) rollback transaction
29674
+  (0.1ms) begin transaction
29675
+  (0.1ms) rollback transaction
29676
+  (0.1ms) begin transaction
29677
+  (0.1ms) rollback transaction
29678
+  (0.0ms) begin transaction
29679
+  (0.1ms) rollback transaction
29680
+  (0.0ms) begin transaction
29681
+  (0.1ms) rollback transaction
29682
+  (0.0ms) begin transaction
29683
+  (0.1ms) rollback transaction
29684
+  (0.1ms) begin transaction
29685
+  (0.1ms) rollback transaction
29686
+  (0.1ms) begin transaction
29687
+  (0.0ms) rollback transaction
29688
+  (0.3ms) begin transaction
29689
+  (0.0ms) rollback transaction
29690
+  (0.0ms) begin transaction
29691
+  (0.0ms) rollback transaction
29692
+  (0.0ms) begin transaction
29693
+  (0.0ms) rollback transaction
29694
+  (0.0ms) begin transaction
29695
+  (0.0ms) rollback transaction
29696
+  (0.0ms) begin transaction
29697
+  (0.1ms) rollback transaction
29698
+  (0.0ms) begin transaction
29699
+  (0.0ms) rollback transaction
29700
+  (0.0ms) begin transaction
29701
+  (0.0ms) rollback transaction
29702
+  (0.0ms) begin transaction
29703
+  (0.1ms) rollback transaction
29704
+  (0.1ms) begin transaction
29705
+  (0.1ms) rollback transaction
29706
+  (2.5ms) begin transaction
29707
+  (0.1ms) rollback transaction
29708
+  (0.0ms) begin transaction
29709
+  (0.0ms) rollback transaction
29710
+  (0.0ms) begin transaction
29711
+  (0.0ms) rollback transaction
29712
+  (0.0ms) begin transaction
29713
+  (0.3ms) rollback transaction
29714
+  (0.0ms) begin transaction
29715
+  (0.3ms) rollback transaction
29716
+  (0.2ms) begin transaction
29717
+  (0.1ms) SAVEPOINT active_record_1
29718
+ SQL (0.4ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.718343"], ["updated_at", "2016-12-10 22:34:46.718343"]]
29719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29720
+  (0.3ms) rollback transaction
29721
+  (0.0ms) begin transaction
29722
+  (0.1ms) SAVEPOINT active_record_1
29723
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.728346"], ["updated_at", "2016-12-10 22:34:46.728346"]]
29724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29725
+  (0.4ms) rollback transaction
29726
+  (0.0ms) begin transaction
29727
+  (0.1ms) SAVEPOINT active_record_1
29728
+ SQL (0.4ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.735358"], ["updated_at", "2016-12-10 22:34:46.735358"]]
29729
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29730
+  (0.4ms) rollback transaction
29731
+  (0.1ms) begin transaction
29732
+  (0.1ms) SAVEPOINT active_record_1
29733
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.752328"], ["updated_at", "2016-12-10 22:34:46.752328"]]
29734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29735
+  (0.3ms) rollback transaction
29736
+  (0.0ms) begin transaction
29737
+  (0.2ms) SAVEPOINT active_record_1
29738
+ SQL (0.9ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.761948"], ["updated_at", "2016-12-10 22:34:46.761948"]]
29739
+  (0.3ms) RELEASE SAVEPOINT active_record_1
29740
+  (0.4ms) rollback transaction
29741
+  (0.1ms) begin transaction
29742
+  (0.0ms) SAVEPOINT active_record_1
29743
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.770796"], ["updated_at", "2016-12-10 22:34:46.770796"]]
29744
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29745
+  (0.4ms) rollback transaction
29746
+  (0.1ms) begin transaction
29747
+  (0.1ms) SAVEPOINT active_record_1
29748
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.777916"], ["updated_at", "2016-12-10 22:34:46.777916"]]
29749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29750
+  (0.3ms) rollback transaction
29751
+  (0.1ms) begin transaction
29752
+  (0.1ms) SAVEPOINT active_record_1
29753
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.783123"], ["updated_at", "2016-12-10 22:34:46.783123"]]
29754
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29755
+  (0.6ms) rollback transaction
29756
+  (0.1ms) begin transaction
29757
+  (0.1ms) SAVEPOINT active_record_1
29758
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.792995"], ["updated_at", "2016-12-10 22:34:46.792995"]]
29759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29760
+  (0.3ms) rollback transaction
29761
+  (0.1ms) begin transaction
29762
+  (0.0ms) SAVEPOINT active_record_1
29763
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.797349"], ["updated_at", "2016-12-10 22:34:46.797349"]]
29764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29765
+  (0.3ms) rollback transaction
29766
+  (0.0ms) begin transaction
29767
+  (0.0ms) SAVEPOINT active_record_1
29768
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.801996"], ["updated_at", "2016-12-10 22:34:46.801996"]]
29769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29770
+  (0.4ms) rollback transaction
29771
+  (0.1ms) begin transaction
29772
+  (0.1ms) SAVEPOINT active_record_1
29773
+ SQL (0.6ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.807399"], ["updated_at", "2016-12-10 22:34:46.807399"]]
29774
+  (0.2ms) RELEASE SAVEPOINT active_record_1
29775
+  (0.6ms) rollback transaction
29776
+  (0.2ms) begin transaction
29777
+  (0.1ms) SAVEPOINT active_record_1
29778
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.816865"], ["updated_at", "2016-12-10 22:34:46.816865"]]
29779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29780
+  (0.4ms) rollback transaction
29781
+  (0.1ms) begin transaction
29782
+  (0.1ms) SAVEPOINT active_record_1
29783
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.821060"], ["updated_at", "2016-12-10 22:34:46.821060"]]
29784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29785
+  (0.3ms) rollback transaction
29786
+  (0.0ms) begin transaction
29787
+  (0.0ms) SAVEPOINT active_record_1
29788
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.824420"], ["updated_at", "2016-12-10 22:34:46.824420"]]
29789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29790
+  (0.4ms) rollback transaction
29791
+  (0.1ms) begin transaction
29792
+  (0.0ms) SAVEPOINT active_record_1
29793
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.828336"], ["updated_at", "2016-12-10 22:34:46.828336"]]
29794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29795
+  (0.3ms) rollback transaction
29796
+  (0.1ms) begin transaction
29797
+  (0.1ms) SAVEPOINT active_record_1
29798
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.831923"], ["updated_at", "2016-12-10 22:34:46.831923"]]
29799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29800
+  (0.3ms) rollback transaction
29801
+  (0.1ms) begin transaction
29802
+  (0.1ms) SAVEPOINT active_record_1
29803
+ SQL (0.4ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.836130"], ["updated_at", "2016-12-10 22:34:46.836130"]]
29804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29805
+  (0.3ms) rollback transaction
29806
+  (0.1ms) begin transaction
29807
+  (0.1ms) SAVEPOINT active_record_1
29808
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.842754"], ["updated_at", "2016-12-10 22:34:46.842754"]]
29809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29810
+  (0.3ms) rollback transaction
29811
+  (0.0ms) begin transaction
29812
+  (0.0ms) SAVEPOINT active_record_1
29813
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.846351"], ["updated_at", "2016-12-10 22:34:46.846351"]]
29814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29815
+  (0.3ms) rollback transaction
29816
+  (0.0ms) begin transaction
29817
+  (0.0ms) SAVEPOINT active_record_1
29818
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.849547"], ["updated_at", "2016-12-10 22:34:46.849547"]]
29819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29820
+  (0.4ms) rollback transaction
29821
+  (0.1ms) begin transaction
29822
+  (0.0ms) SAVEPOINT active_record_1
29823
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.853096"], ["updated_at", "2016-12-10 22:34:46.853096"]]
29824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29825
+  (0.4ms) rollback transaction
29826
+  (0.2ms) begin transaction
29827
+  (0.1ms) SAVEPOINT active_record_1
29828
+ SQL (0.8ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.862740"], ["updated_at", "2016-12-10 22:34:46.862740"]]
29829
+  (0.3ms) RELEASE SAVEPOINT active_record_1
29830
+  (0.3ms) rollback transaction
29831
+  (0.1ms) begin transaction
29832
+  (0.0ms) SAVEPOINT active_record_1
29833
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.870202"], ["updated_at", "2016-12-10 22:34:46.870202"]]
29834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29835
+  (0.3ms) rollback transaction
29836
+  (0.1ms) begin transaction
29837
+  (0.0ms) SAVEPOINT active_record_1
29838
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.874128"], ["updated_at", "2016-12-10 22:34:46.874128"]]
29839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29840
+  (0.5ms) rollback transaction
29841
+  (0.0ms) begin transaction
29842
+  (0.1ms) SAVEPOINT active_record_1
29843
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.878864"], ["updated_at", "2016-12-10 22:34:46.878864"]]
29844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29845
+  (0.3ms) rollback transaction
29846
+  (0.1ms) begin transaction
29847
+  (0.0ms) SAVEPOINT active_record_1
29848
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.883651"], ["updated_at", "2016-12-10 22:34:46.883651"]]
29849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29850
+  (0.5ms) rollback transaction
29851
+  (0.1ms) begin transaction
29852
+  (0.1ms) SAVEPOINT active_record_1
29853
+ SQL (3.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.888919"], ["updated_at", "2016-12-10 22:34:46.888919"]]
29854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29855
+  (0.3ms) rollback transaction
29856
+  (0.0ms) begin transaction
29857
+  (0.0ms) SAVEPOINT active_record_1
29858
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.896591"], ["updated_at", "2016-12-10 22:34:46.896591"]]
29859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29860
+  (0.3ms) rollback transaction
29861
+  (0.1ms) begin transaction
29862
+  (0.0ms) SAVEPOINT active_record_1
29863
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.900768"], ["updated_at", "2016-12-10 22:34:46.900768"]]
29864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29865
+  (0.6ms) rollback transaction
29866
+  (0.1ms) begin transaction
29867
+  (0.1ms) SAVEPOINT active_record_1
29868
+ SQL (0.8ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.905246"], ["updated_at", "2016-12-10 22:34:46.905246"]]
29869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29870
+  (1.1ms) rollback transaction
29871
+  (0.2ms) begin transaction
29872
+  (0.2ms) SAVEPOINT active_record_1
29873
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.917080"], ["updated_at", "2016-12-10 22:34:46.917080"]]
29874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29875
+  (0.3ms) rollback transaction
29876
+  (0.1ms) begin transaction
29877
+  (0.0ms) SAVEPOINT active_record_1
29878
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 22:34:46.921576"], ["updated_at", "2016-12-10 22:34:46.921576"]]
29879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29880
+  (0.3ms) rollback transaction
29881
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
29882
+  (1.2ms) CREATE TABLE "purchases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid" boolean, "commission" decimal, "quantity" integer, "state" varchar, "expired_at" datetime, "amount" decimal, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
29883
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
29884
+  (0.3ms) select sqlite_version(*)
29885
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
29886
+  (0.1ms) SELECT version FROM "schema_migrations"
29887
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
29888
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
29889
+  (0.1ms) begin transaction
29890
+  (0.1ms) rollback transaction
29891
+  (0.1ms) begin transaction
29892
+  (0.0ms) rollback transaction
29893
+  (0.0ms) begin transaction
29894
+  (0.0ms) rollback transaction
29895
+  (0.0ms) begin transaction
29896
+  (0.0ms) rollback transaction
29897
+  (0.0ms) begin transaction
29898
+  (0.1ms) rollback transaction
29899
+  (0.1ms) begin transaction
29900
+  (0.1ms) rollback transaction
29901
+  (0.0ms) begin transaction
29902
+  (0.1ms) rollback transaction
29903
+  (0.0ms) begin transaction
29904
+  (0.1ms) rollback transaction
29905
+  (0.0ms) begin transaction
29906
+  (0.0ms) rollback transaction
29907
+  (0.1ms) begin transaction
29908
+  (0.1ms) rollback transaction
29909
+  (0.1ms) begin transaction
29910
+  (0.1ms) rollback transaction
29911
+  (0.1ms) begin transaction
29912
+  (0.0ms) rollback transaction
29913
+  (0.3ms) begin transaction
29914
+  (0.1ms) rollback transaction
29915
+  (0.0ms) begin transaction
29916
+  (0.0ms) rollback transaction
29917
+  (0.2ms) begin transaction
29918
+  (0.2ms) rollback transaction
29919
+  (0.1ms) begin transaction
29920
+  (0.1ms) rollback transaction
29921
+  (0.0ms) begin transaction
29922
+  (0.0ms) rollback transaction
29923
+  (0.0ms) begin transaction
29924
+  (0.1ms) rollback transaction
29925
+  (0.0ms) begin transaction
29926
+  (0.0ms) rollback transaction
29927
+  (0.0ms) begin transaction
29928
+  (0.1ms) rollback transaction
29929
+  (0.1ms) begin transaction
29930
+  (0.1ms) rollback transaction
29931
+  (0.0ms) begin transaction
29932
+  (0.0ms) rollback transaction
29933
+  (0.1ms) begin transaction
29934
+  (0.0ms) rollback transaction
29935
+  (0.0ms) begin transaction
29936
+  (0.0ms) rollback transaction
29937
+  (0.1ms) begin transaction
29938
+  (0.1ms) rollback transaction
29939
+  (0.0ms) begin transaction
29940
+  (0.0ms) rollback transaction
29941
+  (0.0ms) begin transaction
29942
+  (0.0ms) rollback transaction
29943
+  (0.0ms) begin transaction
29944
+  (0.0ms) rollback transaction
29945
+  (0.0ms) begin transaction
29946
+  (0.0ms) rollback transaction
29947
+  (0.1ms) begin transaction
29948
+  (0.0ms) rollback transaction
29949
+  (0.0ms) begin transaction
29950
+  (0.0ms) rollback transaction
29951
+  (0.0ms) begin transaction
29952
+  (0.0ms) rollback transaction
29953
+  (0.1ms) begin transaction
29954
+  (0.0ms) rollback transaction
29955
+  (0.1ms) begin transaction
29956
+  (0.0ms) rollback transaction
29957
+  (0.0ms) begin transaction
29958
+  (0.1ms) SAVEPOINT active_record_1
29959
+ SQL (0.4ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.235048"], ["updated_at", "2016-12-18 15:47:46.235048"]]
29960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29961
+  (0.3ms) rollback transaction
29962
+  (0.1ms) begin transaction
29963
+  (0.0ms) SAVEPOINT active_record_1
29964
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.246268"], ["updated_at", "2016-12-18 15:47:46.246268"]]
29965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29966
+  (0.3ms) rollback transaction
29967
+  (0.1ms) begin transaction
29968
+  (0.2ms) SAVEPOINT active_record_1
29969
+ SQL (0.7ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.256402"], ["updated_at", "2016-12-18 15:47:46.256402"]]
29970
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29971
+  (0.3ms) rollback transaction
29972
+  (0.1ms) begin transaction
29973
+  (0.0ms) SAVEPOINT active_record_1
29974
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.265091"], ["updated_at", "2016-12-18 15:47:46.265091"]]
29975
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29976
+  (0.2ms) rollback transaction
29977
+  (0.0ms) begin transaction
29978
+  (0.0ms) SAVEPOINT active_record_1
29979
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.269225"], ["updated_at", "2016-12-18 15:47:46.269225"]]
29980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29981
+  (0.2ms) rollback transaction
29982
+  (0.0ms) begin transaction
29983
+  (0.0ms) SAVEPOINT active_record_1
29984
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.273697"], ["updated_at", "2016-12-18 15:47:46.273697"]]
29985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29986
+  (0.3ms) rollback transaction
29987
+  (0.1ms) begin transaction
29988
+  (0.0ms) SAVEPOINT active_record_1
29989
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.278680"], ["updated_at", "2016-12-18 15:47:46.278680"]]
29990
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29991
+  (0.4ms) rollback transaction
29992
+  (0.1ms) begin transaction
29993
+  (0.1ms) SAVEPOINT active_record_1
29994
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.284888"], ["updated_at", "2016-12-18 15:47:46.284888"]]
29995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29996
+  (0.4ms) rollback transaction
29997
+  (0.1ms) begin transaction
29998
+  (0.0ms) SAVEPOINT active_record_1
29999
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.293909"], ["updated_at", "2016-12-18 15:47:46.293909"]]
30000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30001
+  (0.2ms) rollback transaction
30002
+  (0.0ms) begin transaction
30003
+  (0.1ms) SAVEPOINT active_record_1
30004
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.298766"], ["updated_at", "2016-12-18 15:47:46.298766"]]
30005
+  (0.2ms) RELEASE SAVEPOINT active_record_1
30006
+  (0.9ms) rollback transaction
30007
+  (0.3ms) begin transaction
30008
+  (0.1ms) SAVEPOINT active_record_1
30009
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.311591"], ["updated_at", "2016-12-18 15:47:46.311591"]]
30010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30011
+  (0.3ms) rollback transaction
30012
+  (0.1ms) begin transaction
30013
+  (0.0ms) SAVEPOINT active_record_1
30014
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.315234"], ["updated_at", "2016-12-18 15:47:46.315234"]]
30015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30016
+  (0.3ms) rollback transaction
30017
+  (0.1ms) begin transaction
30018
+  (0.0ms) SAVEPOINT active_record_1
30019
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.318957"], ["updated_at", "2016-12-18 15:47:46.318957"]]
30020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30021
+  (0.3ms) rollback transaction
30022
+  (0.1ms) begin transaction
30023
+  (0.0ms) SAVEPOINT active_record_1
30024
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.322441"], ["updated_at", "2016-12-18 15:47:46.322441"]]
30025
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30026
+  (0.3ms) rollback transaction
30027
+  (0.0ms) begin transaction
30028
+  (0.0ms) SAVEPOINT active_record_1
30029
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.325963"], ["updated_at", "2016-12-18 15:47:46.325963"]]
30030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30031
+  (0.2ms) rollback transaction
30032
+  (0.0ms) begin transaction
30033
+  (0.0ms) SAVEPOINT active_record_1
30034
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.329300"], ["updated_at", "2016-12-18 15:47:46.329300"]]
30035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30036
+  (0.3ms) rollback transaction
30037
+  (0.0ms) begin transaction
30038
+  (0.1ms) SAVEPOINT active_record_1
30039
+ SQL (0.4ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.332996"], ["updated_at", "2016-12-18 15:47:46.332996"]]
30040
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30041
+  (0.4ms) rollback transaction
30042
+  (0.1ms) begin transaction
30043
+  (0.1ms) SAVEPOINT active_record_1
30044
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.340724"], ["updated_at", "2016-12-18 15:47:46.340724"]]
30045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30046
+  (0.2ms) rollback transaction
30047
+  (0.0ms) begin transaction
30048
+  (0.0ms) SAVEPOINT active_record_1
30049
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.344247"], ["updated_at", "2016-12-18 15:47:46.344247"]]
30050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30051
+  (0.3ms) rollback transaction
30052
+  (0.1ms) begin transaction
30053
+  (0.0ms) SAVEPOINT active_record_1
30054
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.348159"], ["updated_at", "2016-12-18 15:47:46.348159"]]
30055
+  (0.2ms) RELEASE SAVEPOINT active_record_1
30056
+  (0.5ms) rollback transaction
30057
+  (0.1ms) begin transaction
30058
+  (0.1ms) SAVEPOINT active_record_1
30059
+ SQL (0.4ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.357721"], ["updated_at", "2016-12-18 15:47:46.357721"]]
30060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30061
+  (0.3ms) rollback transaction
30062
+  (0.1ms) begin transaction
30063
+  (0.0ms) SAVEPOINT active_record_1
30064
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.363821"], ["updated_at", "2016-12-18 15:47:46.363821"]]
30065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30066
+  (0.2ms) rollback transaction
30067
+  (0.0ms) begin transaction
30068
+  (0.0ms) SAVEPOINT active_record_1
30069
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.368322"], ["updated_at", "2016-12-18 15:47:46.368322"]]
30070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30071
+  (0.3ms) rollback transaction
30072
+  (0.0ms) begin transaction
30073
+  (0.1ms) SAVEPOINT active_record_1
30074
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.372926"], ["updated_at", "2016-12-18 15:47:46.372926"]]
30075
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30076
+  (0.2ms) rollback transaction
30077
+  (0.0ms) begin transaction
30078
+  (0.0ms) SAVEPOINT active_record_1
30079
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.377119"], ["updated_at", "2016-12-18 15:47:46.377119"]]
30080
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30081
+  (0.3ms) rollback transaction
30082
+  (0.1ms) begin transaction
30083
+  (0.0ms) SAVEPOINT active_record_1
30084
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.381749"], ["updated_at", "2016-12-18 15:47:46.381749"]]
30085
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30086
+  (0.4ms) rollback transaction
30087
+  (0.1ms) begin transaction
30088
+  (0.1ms) SAVEPOINT active_record_1
30089
+ SQL (2.7ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.388189"], ["updated_at", "2016-12-18 15:47:46.388189"]]
30090
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30091
+  (0.3ms) rollback transaction
30092
+  (0.0ms) begin transaction
30093
+  (0.1ms) SAVEPOINT active_record_1
30094
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.395963"], ["updated_at", "2016-12-18 15:47:46.395963"]]
30095
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30096
+  (0.3ms) rollback transaction
30097
+  (0.0ms) begin transaction
30098
+  (0.2ms) SAVEPOINT active_record_1
30099
+ SQL (0.8ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.403761"], ["updated_at", "2016-12-18 15:47:46.403761"]]
30100
+  (0.2ms) RELEASE SAVEPOINT active_record_1
30101
+  (0.8ms) rollback transaction
30102
+  (0.1ms) begin transaction
30103
+  (0.0ms) SAVEPOINT active_record_1
30104
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.413546"], ["updated_at", "2016-12-18 15:47:46.413546"]]
30105
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30106
+  (0.2ms) rollback transaction
30107
+  (0.0ms) begin transaction
30108
+  (0.0ms) SAVEPOINT active_record_1
30109
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.417338"], ["updated_at", "2016-12-18 15:47:46.417338"]]
30110
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30111
+  (0.2ms) rollback transaction
30112
+  (0.0ms) begin transaction
30113
+  (0.1ms) SAVEPOINT active_record_1
30114
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.421483"], ["updated_at", "2016-12-18 15:47:46.421483"]]
30115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30116
+  (0.3ms) rollback transaction
30117
+  (0.1ms) begin transaction
30118
+  (0.0ms) SAVEPOINT active_record_1
30119
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:47:46.426006"], ["updated_at", "2016-12-18 15:47:46.426006"]]
30120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30121
+  (0.3ms) rollback transaction
30122
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
30123
+  (1.5ms) CREATE TABLE "purchases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid" boolean, "commission" decimal, "quantity" integer, "state" varchar, "expired_at" datetime, "amount" decimal, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
30124
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
30125
+  (0.4ms) select sqlite_version(*)
30126
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
30127
+  (0.1ms) SELECT version FROM "schema_migrations"
30128
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
30129
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
30130
+  (0.1ms) begin transaction
30131
+  (0.1ms) rollback transaction
30132
+  (0.1ms) begin transaction
30133
+  (0.0ms) rollback transaction
30134
+  (0.1ms) begin transaction
30135
+  (0.4ms) rollback transaction
30136
+  (0.0ms) begin transaction
30137
+  (0.0ms) rollback transaction
30138
+  (0.0ms) begin transaction
30139
+  (0.1ms) rollback transaction
30140
+  (0.0ms) begin transaction
30141
+  (0.0ms) rollback transaction
30142
+  (0.1ms) begin transaction
30143
+  (0.1ms) rollback transaction
30144
+  (0.1ms) begin transaction
30145
+  (0.0ms) rollback transaction
30146
+  (0.0ms) begin transaction
30147
+  (0.0ms) rollback transaction
30148
+  (0.0ms) begin transaction
30149
+  (0.0ms) rollback transaction
30150
+  (0.0ms) begin transaction
30151
+  (0.0ms) rollback transaction
30152
+  (0.1ms) begin transaction
30153
+  (0.0ms) rollback transaction
30154
+  (0.0ms) begin transaction
30155
+  (0.0ms) rollback transaction
30156
+  (0.0ms) begin transaction
30157
+  (0.0ms) rollback transaction
30158
+  (0.1ms) begin transaction
30159
+  (0.1ms) rollback transaction
30160
+  (0.1ms) begin transaction
30161
+  (0.1ms) rollback transaction
30162
+  (0.0ms) begin transaction
30163
+  (0.0ms) rollback transaction
30164
+  (0.0ms) begin transaction
30165
+  (0.1ms) rollback transaction
30166
+  (0.1ms) begin transaction
30167
+  (0.0ms) rollback transaction
30168
+  (0.0ms) begin transaction
30169
+  (0.0ms) rollback transaction
30170
+  (0.3ms) begin transaction
30171
+  (0.1ms) rollback transaction
30172
+  (0.1ms) begin transaction
30173
+  (0.0ms) rollback transaction
30174
+  (0.1ms) begin transaction
30175
+  (0.0ms) rollback transaction
30176
+  (0.0ms) begin transaction
30177
+  (0.0ms) rollback transaction
30178
+  (0.0ms) begin transaction
30179
+  (0.1ms) rollback transaction
30180
+  (0.1ms) begin transaction
30181
+  (0.0ms) rollback transaction
30182
+  (0.0ms) begin transaction
30183
+  (0.0ms) rollback transaction
30184
+  (0.0ms) begin transaction
30185
+  (0.0ms) rollback transaction
30186
+  (0.0ms) begin transaction
30187
+  (0.0ms) rollback transaction
30188
+  (0.0ms) begin transaction
30189
+  (0.0ms) rollback transaction
30190
+  (0.0ms) begin transaction
30191
+  (0.1ms) rollback transaction
30192
+  (0.1ms) begin transaction
30193
+  (0.1ms) rollback transaction
30194
+  (0.1ms) begin transaction
30195
+  (0.1ms) rollback transaction
30196
+  (0.1ms) begin transaction
30197
+  (0.0ms) rollback transaction
30198
+  (0.0ms) begin transaction
30199
+  (0.1ms) SAVEPOINT active_record_1
30200
+ SQL (1.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.541789"], ["updated_at", "2016-12-18 15:55:08.541789"]]
30201
+  (0.2ms) RELEASE SAVEPOINT active_record_1
30202
+  (0.3ms) rollback transaction
30203
+  (0.1ms) begin transaction
30204
+  (0.0ms) SAVEPOINT active_record_1
30205
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.556280"], ["updated_at", "2016-12-18 15:55:08.556280"]]
30206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30207
+  (0.3ms) rollback transaction
30208
+  (0.1ms) begin transaction
30209
+  (0.0ms) SAVEPOINT active_record_1
30210
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.561073"], ["updated_at", "2016-12-18 15:55:08.561073"]]
30211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30212
+  (0.3ms) rollback transaction
30213
+  (0.1ms) begin transaction
30214
+  (0.0ms) SAVEPOINT active_record_1
30215
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.565955"], ["updated_at", "2016-12-18 15:55:08.565955"]]
30216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30217
+  (0.5ms) rollback transaction
30218
+  (0.1ms) begin transaction
30219
+  (0.0ms) SAVEPOINT active_record_1
30220
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.572090"], ["updated_at", "2016-12-18 15:55:08.572090"]]
30221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30222
+  (0.4ms) rollback transaction
30223
+  (0.1ms) begin transaction
30224
+  (0.1ms) SAVEPOINT active_record_1
30225
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.578511"], ["updated_at", "2016-12-18 15:55:08.578511"]]
30226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30227
+  (0.4ms) rollback transaction
30228
+  (0.1ms) begin transaction
30229
+  (0.1ms) SAVEPOINT active_record_1
30230
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.585771"], ["updated_at", "2016-12-18 15:55:08.585771"]]
30231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30232
+  (0.3ms) rollback transaction
30233
+  (0.0ms) begin transaction
30234
+  (0.0ms) SAVEPOINT active_record_1
30235
+ SQL (1.0ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.590279"], ["updated_at", "2016-12-18 15:55:08.590279"]]
30236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30237
+  (0.9ms) rollback transaction
30238
+  (0.3ms) begin transaction
30239
+  (0.1ms) SAVEPOINT active_record_1
30240
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.603580"], ["updated_at", "2016-12-18 15:55:08.603580"]]
30241
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30242
+  (0.2ms) rollback transaction
30243
+  (0.1ms) begin transaction
30244
+  (0.1ms) SAVEPOINT active_record_1
30245
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.608245"], ["updated_at", "2016-12-18 15:55:08.608245"]]
30246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30247
+  (0.3ms) rollback transaction
30248
+  (0.1ms) begin transaction
30249
+  (0.0ms) SAVEPOINT active_record_1
30250
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.612943"], ["updated_at", "2016-12-18 15:55:08.612943"]]
30251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30252
+  (0.3ms) rollback transaction
30253
+  (0.1ms) begin transaction
30254
+  (0.0ms) SAVEPOINT active_record_1
30255
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.617171"], ["updated_at", "2016-12-18 15:55:08.617171"]]
30256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30257
+  (0.3ms) rollback transaction
30258
+  (0.1ms) begin transaction
30259
+  (0.0ms) SAVEPOINT active_record_1
30260
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.620757"], ["updated_at", "2016-12-18 15:55:08.620757"]]
30261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30262
+  (0.3ms) rollback transaction
30263
+  (0.1ms) begin transaction
30264
+  (0.0ms) SAVEPOINT active_record_1
30265
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.624219"], ["updated_at", "2016-12-18 15:55:08.624219"]]
30266
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30267
+  (0.4ms) rollback transaction
30268
+  (0.1ms) begin transaction
30269
+  (0.1ms) SAVEPOINT active_record_1
30270
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.629187"], ["updated_at", "2016-12-18 15:55:08.629187"]]
30271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30272
+  (0.4ms) rollback transaction
30273
+  (0.1ms) begin transaction
30274
+  (0.0ms) SAVEPOINT active_record_1
30275
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.635330"], ["updated_at", "2016-12-18 15:55:08.635330"]]
30276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30277
+  (0.3ms) rollback transaction
30278
+  (0.1ms) begin transaction
30279
+  (0.0ms) SAVEPOINT active_record_1
30280
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.638691"], ["updated_at", "2016-12-18 15:55:08.638691"]]
30281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30282
+  (0.3ms) rollback transaction
30283
+  (0.0ms) begin transaction
30284
+  (0.2ms) SAVEPOINT active_record_1
30285
+ SQL (0.7ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.643449"], ["updated_at", "2016-12-18 15:55:08.643449"]]
30286
+  (0.2ms) RELEASE SAVEPOINT active_record_1
30287
+  (0.9ms) rollback transaction
30288
+  (0.4ms) begin transaction
30289
+  (0.2ms) SAVEPOINT active_record_1
30290
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.654040"], ["updated_at", "2016-12-18 15:55:08.654040"]]
30291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30292
+  (0.4ms) rollback transaction
30293
+  (0.1ms) begin transaction
30294
+  (0.0ms) SAVEPOINT active_record_1
30295
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.658209"], ["updated_at", "2016-12-18 15:55:08.658209"]]
30296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30297
+  (0.3ms) rollback transaction
30298
+  (0.0ms) begin transaction
30299
+  (0.0ms) SAVEPOINT active_record_1
30300
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.661684"], ["updated_at", "2016-12-18 15:55:08.661684"]]
30301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30302
+  (0.3ms) rollback transaction
30303
+  (0.1ms) begin transaction
30304
+  (0.0ms) SAVEPOINT active_record_1
30305
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.665594"], ["updated_at", "2016-12-18 15:55:08.665594"]]
30306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30307
+  (0.3ms) rollback transaction
30308
+  (0.1ms) begin transaction
30309
+  (0.1ms) SAVEPOINT active_record_1
30310
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.670431"], ["updated_at", "2016-12-18 15:55:08.670431"]]
30311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30312
+  (0.3ms) rollback transaction
30313
+  (0.0ms) begin transaction
30314
+  (0.1ms) SAVEPOINT active_record_1
30315
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.675267"], ["updated_at", "2016-12-18 15:55:08.675267"]]
30316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30317
+  (0.4ms) rollback transaction
30318
+  (0.1ms) begin transaction
30319
+  (0.1ms) SAVEPOINT active_record_1
30320
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.683410"], ["updated_at", "2016-12-18 15:55:08.683410"]]
30321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30322
+  (0.3ms) rollback transaction
30323
+  (0.0ms) begin transaction
30324
+  (0.0ms) SAVEPOINT active_record_1
30325
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.687808"], ["updated_at", "2016-12-18 15:55:08.687808"]]
30326
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30327
+  (0.2ms) rollback transaction
30328
+  (0.0ms) begin transaction
30329
+  (0.2ms) SAVEPOINT active_record_1
30330
+ SQL (0.5ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.693828"], ["updated_at", "2016-12-18 15:55:08.693828"]]
30331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30332
+  (0.8ms) rollback transaction
30333
+  (0.3ms) begin transaction
30334
+  (0.1ms) SAVEPOINT active_record_1
30335
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.704616"], ["updated_at", "2016-12-18 15:55:08.704616"]]
30336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30337
+  (0.3ms) rollback transaction
30338
+  (0.1ms) begin transaction
30339
+  (0.1ms) SAVEPOINT active_record_1
30340
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.710120"], ["updated_at", "2016-12-18 15:55:08.710120"]]
30341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30342
+  (0.3ms) rollback transaction
30343
+  (0.1ms) begin transaction
30344
+  (0.0ms) SAVEPOINT active_record_1
30345
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.714605"], ["updated_at", "2016-12-18 15:55:08.714605"]]
30346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30347
+  (0.4ms) rollback transaction
30348
+  (0.1ms) begin transaction
30349
+  (0.0ms) SAVEPOINT active_record_1
30350
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.719043"], ["updated_at", "2016-12-18 15:55:08.719043"]]
30351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30352
+  (0.3ms) rollback transaction
30353
+  (0.1ms) begin transaction
30354
+  (0.1ms) SAVEPOINT active_record_1
30355
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.724095"], ["updated_at", "2016-12-18 15:55:08.724095"]]
30356
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30357
+  (0.6ms) rollback transaction
30358
+  (0.1ms) begin transaction
30359
+  (0.1ms) SAVEPOINT active_record_1
30360
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 15:55:08.732473"], ["updated_at", "2016-12-18 15:55:08.732473"]]
30361
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30362
+  (0.2ms) rollback transaction
30363
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
30364
+  (2.9ms) CREATE TABLE "purchases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid" boolean, "commission" decimal, "quantity" integer, "state" varchar, "expired_at" datetime, "amount" decimal, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
30365
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
30366
+  (0.4ms) select sqlite_version(*)
30367
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
30368
+  (0.1ms) SELECT version FROM "schema_migrations"
30369
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
30370
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
30371
+  (0.1ms) begin transaction
30372
+  (0.1ms) rollback transaction
30373
+  (0.0ms) begin transaction
30374
+  (0.0ms) rollback transaction
30375
+  (0.0ms) begin transaction
30376
+  (0.0ms) rollback transaction
30377
+  (0.0ms) begin transaction
30378
+  (0.0ms) rollback transaction
30379
+  (0.0ms) begin transaction
30380
+  (0.1ms) rollback transaction
30381
+  (0.1ms) begin transaction
30382
+  (0.0ms) rollback transaction
30383
+  (0.1ms) begin transaction
30384
+  (0.0ms) rollback transaction
30385
+  (0.0ms) begin transaction
30386
+  (0.0ms) rollback transaction
30387
+  (0.0ms) begin transaction
30388
+  (0.0ms) rollback transaction
30389
+  (0.1ms) begin transaction
30390
+  (0.1ms) rollback transaction
30391
+  (0.1ms) begin transaction
30392
+  (0.0ms) rollback transaction
30393
+  (0.0ms) begin transaction
30394
+  (0.0ms) rollback transaction
30395
+  (0.0ms) begin transaction
30396
+  (0.0ms) rollback transaction
30397
+  (0.1ms) begin transaction
30398
+  (0.4ms) rollback transaction
30399
+  (0.0ms) begin transaction
30400
+  (0.1ms) rollback transaction
30401
+  (0.1ms) begin transaction
30402
+  (0.1ms) rollback transaction
30403
+  (0.1ms) begin transaction
30404
+  (0.1ms) rollback transaction
30405
+  (0.0ms) begin transaction
30406
+  (0.1ms) rollback transaction
30407
+  (0.0ms) begin transaction
30408
+  (0.0ms) rollback transaction
30409
+  (0.0ms) begin transaction
30410
+  (0.0ms) rollback transaction
30411
+  (0.1ms) begin transaction
30412
+  (0.0ms) rollback transaction
30413
+  (0.0ms) begin transaction
30414
+  (0.0ms) rollback transaction
30415
+  (0.0ms) begin transaction
30416
+  (0.0ms) rollback transaction
30417
+  (0.0ms) begin transaction
30418
+  (0.0ms) rollback transaction
30419
+  (0.0ms) begin transaction
30420
+  (0.1ms) rollback transaction
30421
+  (0.1ms) begin transaction
30422
+  (0.0ms) rollback transaction
30423
+  (0.0ms) begin transaction
30424
+  (0.0ms) rollback transaction
30425
+  (0.0ms) begin transaction
30426
+  (0.0ms) rollback transaction
30427
+  (0.0ms) begin transaction
30428
+  (0.0ms) rollback transaction
30429
+  (0.0ms) begin transaction
30430
+  (0.0ms) rollback transaction
30431
+  (0.0ms) begin transaction
30432
+  (0.1ms) rollback transaction
30433
+  (0.0ms) begin transaction
30434
+  (0.0ms) rollback transaction
30435
+  (0.0ms) begin transaction
30436
+  (0.0ms) rollback transaction
30437
+  (0.0ms) begin transaction
30438
+  (0.0ms) rollback transaction
30439
+  (0.0ms) begin transaction
30440
+  (0.0ms) SAVEPOINT active_record_1
30441
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.559231"], ["updated_at", "2016-12-18 16:01:44.559231"]]
30442
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30443
+  (0.2ms) rollback transaction
30444
+  (0.1ms) begin transaction
30445
+  (0.0ms) SAVEPOINT active_record_1
30446
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.566124"], ["updated_at", "2016-12-18 16:01:44.566124"]]
30447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30448
+  (0.3ms) rollback transaction
30449
+  (0.1ms) begin transaction
30450
+  (0.1ms) SAVEPOINT active_record_1
30451
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.570800"], ["updated_at", "2016-12-18 16:01:44.570800"]]
30452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30453
+  (0.3ms) rollback transaction
30454
+  (0.0ms) begin transaction
30455
+  (0.0ms) SAVEPOINT active_record_1
30456
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.575901"], ["updated_at", "2016-12-18 16:01:44.575901"]]
30457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30458
+  (0.2ms) rollback transaction
30459
+  (0.0ms) begin transaction
30460
+  (0.1ms) SAVEPOINT active_record_1
30461
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.580638"], ["updated_at", "2016-12-18 16:01:44.580638"]]
30462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30463
+  (0.3ms) rollback transaction
30464
+  (0.0ms) begin transaction
30465
+  (0.0ms) SAVEPOINT active_record_1
30466
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.586068"], ["updated_at", "2016-12-18 16:01:44.586068"]]
30467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30468
+  (0.3ms) rollback transaction
30469
+  (0.1ms) begin transaction
30470
+  (0.0ms) SAVEPOINT active_record_1
30471
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.590489"], ["updated_at", "2016-12-18 16:01:44.590489"]]
30472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30473
+  (0.2ms) rollback transaction
30474
+  (0.1ms) begin transaction
30475
+  (0.0ms) SAVEPOINT active_record_1
30476
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.594837"], ["updated_at", "2016-12-18 16:01:44.594837"]]
30477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30478
+  (0.3ms) rollback transaction
30479
+  (0.0ms) begin transaction
30480
+  (0.0ms) SAVEPOINT active_record_1
30481
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.599911"], ["updated_at", "2016-12-18 16:01:44.599911"]]
30482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30483
+  (0.3ms) rollback transaction
30484
+  (0.1ms) begin transaction
30485
+  (0.0ms) SAVEPOINT active_record_1
30486
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.604237"], ["updated_at", "2016-12-18 16:01:44.604237"]]
30487
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30488
+  (0.3ms) rollback transaction
30489
+  (0.1ms) begin transaction
30490
+  (0.0ms) SAVEPOINT active_record_1
30491
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.608283"], ["updated_at", "2016-12-18 16:01:44.608283"]]
30492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30493
+  (0.2ms) rollback transaction
30494
+  (0.0ms) begin transaction
30495
+  (0.0ms) SAVEPOINT active_record_1
30496
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.611534"], ["updated_at", "2016-12-18 16:01:44.611534"]]
30497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30498
+  (0.2ms) rollback transaction
30499
+  (0.0ms) begin transaction
30500
+  (0.0ms) SAVEPOINT active_record_1
30501
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.614623"], ["updated_at", "2016-12-18 16:01:44.614623"]]
30502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30503
+  (0.3ms) rollback transaction
30504
+  (0.0ms) begin transaction
30505
+  (0.0ms) SAVEPOINT active_record_1
30506
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.617769"], ["updated_at", "2016-12-18 16:01:44.617769"]]
30507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30508
+  (0.3ms) rollback transaction
30509
+  (0.0ms) begin transaction
30510
+  (0.0ms) SAVEPOINT active_record_1
30511
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.621245"], ["updated_at", "2016-12-18 16:01:44.621245"]]
30512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30513
+  (0.2ms) rollback transaction
30514
+  (0.0ms) begin transaction
30515
+  (0.0ms) SAVEPOINT active_record_1
30516
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.624513"], ["updated_at", "2016-12-18 16:01:44.624513"]]
30517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30518
+  (0.3ms) rollback transaction
30519
+  (0.0ms) begin transaction
30520
+  (0.0ms) SAVEPOINT active_record_1
30521
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.628212"], ["updated_at", "2016-12-18 16:01:44.628212"]]
30522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30523
+  (0.3ms) rollback transaction
30524
+  (0.0ms) begin transaction
30525
+  (0.0ms) SAVEPOINT active_record_1
30526
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.631556"], ["updated_at", "2016-12-18 16:01:44.631556"]]
30527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30528
+  (0.2ms) rollback transaction
30529
+  (0.0ms) begin transaction
30530
+  (0.1ms) SAVEPOINT active_record_1
30531
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.634699"], ["updated_at", "2016-12-18 16:01:44.634699"]]
30532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30533
+  (0.3ms) rollback transaction
30534
+  (0.1ms) begin transaction
30535
+  (0.0ms) SAVEPOINT active_record_1
30536
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.637949"], ["updated_at", "2016-12-18 16:01:44.637949"]]
30537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30538
+  (0.3ms) rollback transaction
30539
+  (0.0ms) begin transaction
30540
+  (0.0ms) SAVEPOINT active_record_1
30541
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.641335"], ["updated_at", "2016-12-18 16:01:44.641335"]]
30542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30543
+  (0.3ms) rollback transaction
30544
+  (0.1ms) begin transaction
30545
+  (0.0ms) SAVEPOINT active_record_1
30546
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.644688"], ["updated_at", "2016-12-18 16:01:44.644688"]]
30547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30548
+  (0.3ms) rollback transaction
30549
+  (0.0ms) begin transaction
30550
+  (0.0ms) SAVEPOINT active_record_1
30551
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.649236"], ["updated_at", "2016-12-18 16:01:44.649236"]]
30552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30553
+  (0.2ms) rollback transaction
30554
+  (0.0ms) begin transaction
30555
+  (0.0ms) SAVEPOINT active_record_1
30556
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.653697"], ["updated_at", "2016-12-18 16:01:44.653697"]]
30557
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30558
+  (0.3ms) rollback transaction
30559
+  (0.1ms) begin transaction
30560
+  (0.0ms) SAVEPOINT active_record_1
30561
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.658590"], ["updated_at", "2016-12-18 16:01:44.658590"]]
30562
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30563
+  (0.2ms) rollback transaction
30564
+  (0.1ms) begin transaction
30565
+  (0.1ms) SAVEPOINT active_record_1
30566
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.663125"], ["updated_at", "2016-12-18 16:01:44.663125"]]
30567
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30568
+  (0.3ms) rollback transaction
30569
+  (0.0ms) begin transaction
30570
+  (0.0ms) SAVEPOINT active_record_1
30571
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.667741"], ["updated_at", "2016-12-18 16:01:44.667741"]]
30572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30573
+  (0.2ms) rollback transaction
30574
+  (0.1ms) begin transaction
30575
+  (0.0ms) SAVEPOINT active_record_1
30576
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.672149"], ["updated_at", "2016-12-18 16:01:44.672149"]]
30577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30578
+  (0.3ms) rollback transaction
30579
+  (0.1ms) begin transaction
30580
+  (0.0ms) SAVEPOINT active_record_1
30581
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.676780"], ["updated_at", "2016-12-18 16:01:44.676780"]]
30582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30583
+  (0.3ms) rollback transaction
30584
+  (0.1ms) begin transaction
30585
+  (0.1ms) SAVEPOINT active_record_1
30586
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.683150"], ["updated_at", "2016-12-18 16:01:44.683150"]]
30587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30588
+  (0.4ms) rollback transaction
30589
+  (0.1ms) begin transaction
30590
+  (0.1ms) SAVEPOINT active_record_1
30591
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.688558"], ["updated_at", "2016-12-18 16:01:44.688558"]]
30592
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30593
+  (0.3ms) rollback transaction
30594
+  (0.1ms) begin transaction
30595
+  (0.1ms) SAVEPOINT active_record_1
30596
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.693289"], ["updated_at", "2016-12-18 16:01:44.693289"]]
30597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30598
+  (0.2ms) rollback transaction
30599
+  (0.1ms) begin transaction
30600
+  (0.0ms) SAVEPOINT active_record_1
30601
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:01:44.697598"], ["updated_at", "2016-12-18 16:01:44.697598"]]
30602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30603
+  (0.3ms) rollback transaction
30604
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
30605
+  (0.9ms) CREATE TABLE "purchases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid" boolean, "commission" decimal, "quantity" integer, "state" varchar, "expired_at" datetime, "amount" decimal, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
30606
+  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
30607
+  (0.2ms) select sqlite_version(*)
30608
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
30609
+  (0.4ms) SELECT version FROM "schema_migrations"
30610
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
30611
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
30612
+  (0.1ms) begin transaction
30613
+  (0.1ms) rollback transaction
30614
+  (0.1ms) begin transaction
30615
+  (0.0ms) rollback transaction
30616
+  (0.5ms) begin transaction
30617
+  (0.1ms) rollback transaction
30618
+  (0.0ms) begin transaction
30619
+  (0.0ms) rollback transaction
30620
+  (0.0ms) begin transaction
30621
+  (0.2ms) rollback transaction
30622
+  (0.2ms) begin transaction
30623
+  (0.4ms) rollback transaction
30624
+  (0.0ms) begin transaction
30625
+  (0.1ms) rollback transaction
30626
+  (0.1ms) begin transaction
30627
+  (0.0ms) rollback transaction
30628
+  (0.0ms) begin transaction
30629
+  (0.1ms) rollback transaction
30630
+  (0.1ms) begin transaction
30631
+  (0.0ms) rollback transaction
30632
+  (0.0ms) begin transaction
30633
+  (0.1ms) rollback transaction
30634
+  (0.1ms) begin transaction
30635
+  (0.0ms) rollback transaction
30636
+  (0.1ms) begin transaction
30637
+  (0.0ms) rollback transaction
30638
+  (0.3ms) begin transaction
30639
+  (0.0ms) rollback transaction
30640
+  (0.0ms) begin transaction
30641
+  (0.1ms) rollback transaction
30642
+  (0.1ms) begin transaction
30643
+  (0.1ms) rollback transaction
30644
+  (0.1ms) begin transaction
30645
+  (0.1ms) rollback transaction
30646
+  (0.1ms) begin transaction
30647
+  (0.2ms) rollback transaction
30648
+  (0.1ms) begin transaction
30649
+  (0.1ms) rollback transaction
30650
+  (0.1ms) begin transaction
30651
+  (0.0ms) rollback transaction
30652
+  (0.0ms) begin transaction
30653
+  (0.1ms) rollback transaction
30654
+  (0.0ms) begin transaction
30655
+  (0.0ms) rollback transaction
30656
+  (0.1ms) begin transaction
30657
+  (0.0ms) rollback transaction
30658
+  (0.1ms) begin transaction
30659
+  (0.0ms) rollback transaction
30660
+  (0.1ms) begin transaction
30661
+  (0.0ms) rollback transaction
30662
+  (0.0ms) begin transaction
30663
+  (0.0ms) rollback transaction
30664
+  (0.0ms) begin transaction
30665
+  (0.0ms) rollback transaction
30666
+  (0.0ms) begin transaction
30667
+  (0.1ms) rollback transaction
30668
+  (0.1ms) begin transaction
30669
+  (0.1ms) rollback transaction
30670
+  (0.0ms) begin transaction
30671
+  (0.1ms) rollback transaction
30672
+  (0.1ms) begin transaction
30673
+  (0.0ms) rollback transaction
30674
+  (0.0ms) begin transaction
30675
+  (0.0ms) rollback transaction
30676
+  (0.0ms) begin transaction
30677
+  (0.1ms) rollback transaction
30678
+  (0.2ms) begin transaction
30679
+  (0.2ms) rollback transaction
30680
+  (0.2ms) begin transaction
30681
+  (0.1ms) SAVEPOINT active_record_1
30682
+ SQL (0.4ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.811301"], ["updated_at", "2016-12-18 16:26:43.811301"]]
30683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30684
+  (0.2ms) rollback transaction
30685
+  (0.0ms) begin transaction
30686
+  (0.0ms) SAVEPOINT active_record_1
30687
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.818526"], ["updated_at", "2016-12-18 16:26:43.818526"]]
30688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30689
+  (0.3ms) rollback transaction
30690
+  (0.0ms) begin transaction
30691
+  (0.1ms) SAVEPOINT active_record_1
30692
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.822658"], ["updated_at", "2016-12-18 16:26:43.822658"]]
30693
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30694
+  (0.2ms) rollback transaction
30695
+  (0.0ms) begin transaction
30696
+  (0.1ms) SAVEPOINT active_record_1
30697
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.826852"], ["updated_at", "2016-12-18 16:26:43.826852"]]
30698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30699
+  (0.3ms) rollback transaction
30700
+  (0.1ms) begin transaction
30701
+  (0.0ms) SAVEPOINT active_record_1
30702
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.831067"], ["updated_at", "2016-12-18 16:26:43.831067"]]
30703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30704
+  (0.3ms) rollback transaction
30705
+  (0.0ms) begin transaction
30706
+  (0.1ms) SAVEPOINT active_record_1
30707
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.835796"], ["updated_at", "2016-12-18 16:26:43.835796"]]
30708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30709
+  (2.5ms) rollback transaction
30710
+  (0.1ms) begin transaction
30711
+  (0.0ms) SAVEPOINT active_record_1
30712
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.842699"], ["updated_at", "2016-12-18 16:26:43.842699"]]
30713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30714
+  (0.3ms) rollback transaction
30715
+  (0.0ms) begin transaction
30716
+  (0.0ms) SAVEPOINT active_record_1
30717
+ SQL (0.7ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.846807"], ["updated_at", "2016-12-18 16:26:43.846807"]]
30718
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30719
+  (0.6ms) rollback transaction
30720
+  (0.2ms) begin transaction
30721
+  (0.1ms) SAVEPOINT active_record_1
30722
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.859234"], ["updated_at", "2016-12-18 16:26:43.859234"]]
30723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30724
+  (0.3ms) rollback transaction
30725
+  (0.1ms) begin transaction
30726
+  (0.0ms) SAVEPOINT active_record_1
30727
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.864024"], ["updated_at", "2016-12-18 16:26:43.864024"]]
30728
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30729
+  (0.3ms) rollback transaction
30730
+  (0.1ms) begin transaction
30731
+  (0.0ms) SAVEPOINT active_record_1
30732
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.868735"], ["updated_at", "2016-12-18 16:26:43.868735"]]
30733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30734
+  (0.3ms) rollback transaction
30735
+  (0.2ms) begin transaction
30736
+  (0.1ms) SAVEPOINT active_record_1
30737
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.872958"], ["updated_at", "2016-12-18 16:26:43.872958"]]
30738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30739
+  (0.3ms) rollback transaction
30740
+  (0.1ms) begin transaction
30741
+  (0.1ms) SAVEPOINT active_record_1
30742
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.876662"], ["updated_at", "2016-12-18 16:26:43.876662"]]
30743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30744
+  (0.3ms) rollback transaction
30745
+  (0.0ms) begin transaction
30746
+  (0.0ms) SAVEPOINT active_record_1
30747
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.880191"], ["updated_at", "2016-12-18 16:26:43.880191"]]
30748
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30749
+  (0.3ms) rollback transaction
30750
+  (0.1ms) begin transaction
30751
+  (0.1ms) SAVEPOINT active_record_1
30752
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.884006"], ["updated_at", "2016-12-18 16:26:43.884006"]]
30753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30754
+  (0.3ms) rollback transaction
30755
+  (0.1ms) begin transaction
30756
+  (0.1ms) SAVEPOINT active_record_1
30757
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.890695"], ["updated_at", "2016-12-18 16:26:43.890695"]]
30758
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30759
+  (0.4ms) rollback transaction
30760
+  (0.1ms) begin transaction
30761
+  (0.1ms) SAVEPOINT active_record_1
30762
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.894696"], ["updated_at", "2016-12-18 16:26:43.894696"]]
30763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30764
+  (0.3ms) rollback transaction
30765
+  (0.3ms) begin transaction
30766
+  (0.1ms) SAVEPOINT active_record_1
30767
+ SQL (0.7ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.900872"], ["updated_at", "2016-12-18 16:26:43.900872"]]
30768
+  (0.3ms) RELEASE SAVEPOINT active_record_1
30769
+  (0.4ms) rollback transaction
30770
+  (0.1ms) begin transaction
30771
+  (0.1ms) SAVEPOINT active_record_1
30772
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.910637"], ["updated_at", "2016-12-18 16:26:43.910637"]]
30773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30774
+  (0.3ms) rollback transaction
30775
+  (0.1ms) begin transaction
30776
+  (0.1ms) SAVEPOINT active_record_1
30777
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.914587"], ["updated_at", "2016-12-18 16:26:43.914587"]]
30778
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30779
+  (0.3ms) rollback transaction
30780
+  (0.0ms) begin transaction
30781
+  (0.1ms) SAVEPOINT active_record_1
30782
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.918272"], ["updated_at", "2016-12-18 16:26:43.918272"]]
30783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30784
+  (0.3ms) rollback transaction
30785
+  (0.1ms) begin transaction
30786
+  (0.0ms) SAVEPOINT active_record_1
30787
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.921490"], ["updated_at", "2016-12-18 16:26:43.921490"]]
30788
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30789
+  (0.2ms) rollback transaction
30790
+  (0.0ms) begin transaction
30791
+  (0.0ms) SAVEPOINT active_record_1
30792
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.925635"], ["updated_at", "2016-12-18 16:26:43.925635"]]
30793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30794
+  (0.3ms) rollback transaction
30795
+  (0.0ms) begin transaction
30796
+  (0.0ms) SAVEPOINT active_record_1
30797
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.929932"], ["updated_at", "2016-12-18 16:26:43.929932"]]
30798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30799
+  (0.2ms) rollback transaction
30800
+  (0.0ms) begin transaction
30801
+  (0.1ms) SAVEPOINT active_record_1
30802
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.934404"], ["updated_at", "2016-12-18 16:26:43.934404"]]
30803
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30804
+  (0.3ms) rollback transaction
30805
+  (0.0ms) begin transaction
30806
+  (0.1ms) SAVEPOINT active_record_1
30807
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.942061"], ["updated_at", "2016-12-18 16:26:43.942061"]]
30808
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30809
+  (0.3ms) rollback transaction
30810
+  (0.1ms) begin transaction
30811
+  (0.0ms) SAVEPOINT active_record_1
30812
+ SQL (0.7ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.946095"], ["updated_at", "2016-12-18 16:26:43.946095"]]
30813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30814
+  (0.5ms) rollback transaction
30815
+  (0.2ms) begin transaction
30816
+  (0.1ms) SAVEPOINT active_record_1
30817
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.958195"], ["updated_at", "2016-12-18 16:26:43.958195"]]
30818
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30819
+  (0.3ms) rollback transaction
30820
+  (0.1ms) begin transaction
30821
+  (0.1ms) SAVEPOINT active_record_1
30822
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.963296"], ["updated_at", "2016-12-18 16:26:43.963296"]]
30823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30824
+  (0.3ms) rollback transaction
30825
+  (0.1ms) begin transaction
30826
+  (0.1ms) SAVEPOINT active_record_1
30827
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.968220"], ["updated_at", "2016-12-18 16:26:43.968220"]]
30828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30829
+  (0.3ms) rollback transaction
30830
+  (0.1ms) begin transaction
30831
+  (0.1ms) SAVEPOINT active_record_1
30832
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.972686"], ["updated_at", "2016-12-18 16:26:43.972686"]]
30833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30834
+  (0.3ms) rollback transaction
30835
+  (0.0ms) begin transaction
30836
+  (0.0ms) SAVEPOINT active_record_1
30837
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.976981"], ["updated_at", "2016-12-18 16:26:43.976981"]]
30838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30839
+  (0.2ms) rollback transaction
30840
+  (0.1ms) begin transaction
30841
+  (0.0ms) SAVEPOINT active_record_1
30842
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:26:43.981382"], ["updated_at", "2016-12-18 16:26:43.981382"]]
30843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30844
+  (0.3ms) rollback transaction
30845
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
30846
+  (0.8ms) CREATE TABLE "purchases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid" boolean, "commission" decimal, "quantity" integer, "state" varchar, "expired_at" datetime, "amount" decimal, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
30847
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
30848
+  (0.1ms) select sqlite_version(*)
30849
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
30850
+  (0.1ms) SELECT version FROM "schema_migrations"
30851
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
30852
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
30853
+  (0.1ms) begin transaction
30854
+  (0.1ms) rollback transaction
30855
+  (0.0ms) begin transaction
30856
+  (0.0ms) rollback transaction
30857
+  (0.0ms) begin transaction
30858
+  (0.0ms) rollback transaction
30859
+  (0.0ms) begin transaction
30860
+  (0.0ms) rollback transaction
30861
+  (0.0ms) begin transaction
30862
+  (0.1ms) rollback transaction
30863
+  (0.1ms) begin transaction
30864
+  (0.1ms) rollback transaction
30865
+  (0.0ms) begin transaction
30866
+  (0.1ms) rollback transaction
30867
+  (0.0ms) begin transaction
30868
+  (0.0ms) rollback transaction
30869
+  (0.0ms) begin transaction
30870
+  (0.0ms) rollback transaction
30871
+  (0.0ms) begin transaction
30872
+  (0.0ms) rollback transaction
30873
+  (0.0ms) begin transaction
30874
+  (0.0ms) rollback transaction
30875
+  (0.1ms) begin transaction
30876
+  (0.1ms) rollback transaction
30877
+  (0.1ms) begin transaction
30878
+  (0.3ms) rollback transaction
30879
+  (0.1ms) begin transaction
30880
+  (0.1ms) rollback transaction
30881
+  (0.0ms) begin transaction
30882
+  (0.1ms) rollback transaction
30883
+  (0.3ms) begin transaction
30884
+  (0.1ms) rollback transaction
30885
+  (0.1ms) begin transaction
30886
+  (0.1ms) rollback transaction
30887
+  (0.0ms) begin transaction
30888
+  (0.1ms) rollback transaction
30889
+  (0.1ms) begin transaction
30890
+  (0.1ms) rollback transaction
30891
+  (0.0ms) begin transaction
30892
+  (0.0ms) rollback transaction
30893
+  (0.0ms) begin transaction
30894
+  (0.0ms) rollback transaction
30895
+  (0.0ms) begin transaction
30896
+  (0.0ms) rollback transaction
30897
+  (0.1ms) begin transaction
30898
+  (0.2ms) rollback transaction
30899
+  (0.1ms) begin transaction
30900
+  (0.1ms) rollback transaction
30901
+  (0.1ms) begin transaction
30902
+  (0.1ms) rollback transaction
30903
+  (0.1ms) begin transaction
30904
+  (0.1ms) rollback transaction
30905
+  (0.1ms) begin transaction
30906
+  (0.0ms) rollback transaction
30907
+  (0.0ms) begin transaction
30908
+  (0.0ms) rollback transaction
30909
+  (0.1ms) begin transaction
30910
+  (0.0ms) rollback transaction
30911
+  (0.0ms) begin transaction
30912
+  (0.0ms) rollback transaction
30913
+  (0.1ms) begin transaction
30914
+  (0.0ms) rollback transaction
30915
+  (0.0ms) begin transaction
30916
+  (0.0ms) rollback transaction
30917
+  (0.1ms) begin transaction
30918
+  (0.0ms) rollback transaction
30919
+  (0.0ms) begin transaction
30920
+  (0.0ms) rollback transaction
30921
+  (0.0ms) begin transaction
30922
+  (0.0ms) SAVEPOINT active_record_1
30923
+ SQL (0.4ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.671740"], ["updated_at", "2016-12-18 16:27:10.671740"]]
30924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30925
+  (0.3ms) rollback transaction
30926
+  (0.0ms) begin transaction
30927
+  (0.0ms) SAVEPOINT active_record_1
30928
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.681932"], ["updated_at", "2016-12-18 16:27:10.681932"]]
30929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30930
+  (0.4ms) rollback transaction
30931
+  (0.1ms) begin transaction
30932
+  (0.0ms) SAVEPOINT active_record_1
30933
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.686364"], ["updated_at", "2016-12-18 16:27:10.686364"]]
30934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30935
+  (0.3ms) rollback transaction
30936
+  (0.0ms) begin transaction
30937
+  (0.1ms) SAVEPOINT active_record_1
30938
+ SQL (0.5ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.692736"], ["updated_at", "2016-12-18 16:27:10.692736"]]
30939
+  (0.2ms) RELEASE SAVEPOINT active_record_1
30940
+  (0.7ms) rollback transaction
30941
+  (0.2ms) begin transaction
30942
+  (0.1ms) SAVEPOINT active_record_1
30943
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.703450"], ["updated_at", "2016-12-18 16:27:10.703450"]]
30944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30945
+  (0.2ms) rollback transaction
30946
+  (0.0ms) begin transaction
30947
+  (0.0ms) SAVEPOINT active_record_1
30948
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.707668"], ["updated_at", "2016-12-18 16:27:10.707668"]]
30949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30950
+  (0.2ms) rollback transaction
30951
+  (0.0ms) begin transaction
30952
+  (0.1ms) SAVEPOINT active_record_1
30953
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.711586"], ["updated_at", "2016-12-18 16:27:10.711586"]]
30954
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30955
+  (0.2ms) rollback transaction
30956
+  (0.0ms) begin transaction
30957
+  (0.1ms) SAVEPOINT active_record_1
30958
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.715706"], ["updated_at", "2016-12-18 16:27:10.715706"]]
30959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30960
+  (0.3ms) rollback transaction
30961
+  (0.1ms) begin transaction
30962
+  (0.1ms) SAVEPOINT active_record_1
30963
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.721937"], ["updated_at", "2016-12-18 16:27:10.721937"]]
30964
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30965
+  (0.3ms) rollback transaction
30966
+  (0.1ms) begin transaction
30967
+  (0.0ms) SAVEPOINT active_record_1
30968
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.729025"], ["updated_at", "2016-12-18 16:27:10.729025"]]
30969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30970
+  (0.3ms) rollback transaction
30971
+  (0.0ms) begin transaction
30972
+  (0.0ms) SAVEPOINT active_record_1
30973
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.733135"], ["updated_at", "2016-12-18 16:27:10.733135"]]
30974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30975
+  (0.2ms) rollback transaction
30976
+  (0.1ms) begin transaction
30977
+  (0.1ms) SAVEPOINT active_record_1
30978
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.736305"], ["updated_at", "2016-12-18 16:27:10.736305"]]
30979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30980
+  (0.2ms) rollback transaction
30981
+  (0.0ms) begin transaction
30982
+  (0.0ms) SAVEPOINT active_record_1
30983
+ SQL (1.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.739390"], ["updated_at", "2016-12-18 16:27:10.739390"]]
30984
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30985
+  (0.5ms) rollback transaction
30986
+  (0.2ms) begin transaction
30987
+  (0.3ms) SAVEPOINT active_record_1
30988
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.749439"], ["updated_at", "2016-12-18 16:27:10.749439"]]
30989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30990
+  (0.3ms) rollback transaction
30991
+  (0.1ms) begin transaction
30992
+  (0.1ms) SAVEPOINT active_record_1
30993
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.754624"], ["updated_at", "2016-12-18 16:27:10.754624"]]
30994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30995
+  (0.3ms) rollback transaction
30996
+  (0.0ms) begin transaction
30997
+  (0.0ms) SAVEPOINT active_record_1
30998
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.757758"], ["updated_at", "2016-12-18 16:27:10.757758"]]
30999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31000
+  (0.3ms) rollback transaction
31001
+  (0.1ms) begin transaction
31002
+  (0.0ms) SAVEPOINT active_record_1
31003
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.761051"], ["updated_at", "2016-12-18 16:27:10.761051"]]
31004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31005
+  (0.3ms) rollback transaction
31006
+  (0.1ms) begin transaction
31007
+  (0.0ms) SAVEPOINT active_record_1
31008
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.764304"], ["updated_at", "2016-12-18 16:27:10.764304"]]
31009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31010
+  (0.3ms) rollback transaction
31011
+  (0.0ms) begin transaction
31012
+  (0.0ms) SAVEPOINT active_record_1
31013
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.767302"], ["updated_at", "2016-12-18 16:27:10.767302"]]
31014
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31015
+  (0.4ms) rollback transaction
31016
+  (0.1ms) begin transaction
31017
+  (0.1ms) SAVEPOINT active_record_1
31018
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.772053"], ["updated_at", "2016-12-18 16:27:10.772053"]]
31019
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31020
+  (2.8ms) rollback transaction
31021
+  (0.1ms) begin transaction
31022
+  (0.0ms) SAVEPOINT active_record_1
31023
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.778328"], ["updated_at", "2016-12-18 16:27:10.778328"]]
31024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31025
+  (0.3ms) rollback transaction
31026
+  (0.0ms) begin transaction
31027
+  (0.0ms) SAVEPOINT active_record_1
31028
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.781680"], ["updated_at", "2016-12-18 16:27:10.781680"]]
31029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31030
+  (0.2ms) rollback transaction
31031
+  (0.0ms) begin transaction
31032
+  (0.1ms) SAVEPOINT active_record_1
31033
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.785958"], ["updated_at", "2016-12-18 16:27:10.785958"]]
31034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31035
+  (0.3ms) rollback transaction
31036
+  (0.0ms) begin transaction
31037
+  (0.3ms) SAVEPOINT active_record_1
31038
+ SQL (0.4ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.791720"], ["updated_at", "2016-12-18 16:27:10.791720"]]
31039
+  (0.2ms) RELEASE SAVEPOINT active_record_1
31040
+  (0.8ms) rollback transaction
31041
+  (0.2ms) begin transaction
31042
+  (0.1ms) SAVEPOINT active_record_1
31043
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.802496"], ["updated_at", "2016-12-18 16:27:10.802496"]]
31044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31045
+  (0.3ms) rollback transaction
31046
+  (0.1ms) begin transaction
31047
+  (0.1ms) SAVEPOINT active_record_1
31048
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.808026"], ["updated_at", "2016-12-18 16:27:10.808026"]]
31049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31050
+  (0.3ms) rollback transaction
31051
+  (0.1ms) begin transaction
31052
+  (0.0ms) SAVEPOINT active_record_1
31053
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.812409"], ["updated_at", "2016-12-18 16:27:10.812409"]]
31054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31055
+  (0.2ms) rollback transaction
31056
+  (0.1ms) begin transaction
31057
+  (0.1ms) SAVEPOINT active_record_1
31058
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.816331"], ["updated_at", "2016-12-18 16:27:10.816331"]]
31059
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31060
+  (0.3ms) rollback transaction
31061
+  (0.0ms) begin transaction
31062
+  (0.1ms) SAVEPOINT active_record_1
31063
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.821422"], ["updated_at", "2016-12-18 16:27:10.821422"]]
31064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31065
+  (0.3ms) rollback transaction
31066
+  (0.1ms) begin transaction
31067
+  (0.1ms) SAVEPOINT active_record_1
31068
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.828636"], ["updated_at", "2016-12-18 16:27:10.828636"]]
31069
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31070
+  (0.3ms) rollback transaction
31071
+  (0.0ms) begin transaction
31072
+  (0.0ms) SAVEPOINT active_record_1
31073
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.832839"], ["updated_at", "2016-12-18 16:27:10.832839"]]
31074
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31075
+  (0.3ms) rollback transaction
31076
+  (0.1ms) begin transaction
31077
+  (0.0ms) SAVEPOINT active_record_1
31078
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.836858"], ["updated_at", "2016-12-18 16:27:10.836858"]]
31079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31080
+  (0.2ms) rollback transaction
31081
+  (0.0ms) begin transaction
31082
+  (0.1ms) SAVEPOINT active_record_1
31083
+ SQL (0.5ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:10.843030"], ["updated_at", "2016-12-18 16:27:10.843030"]]
31084
+  (0.2ms) RELEASE SAVEPOINT active_record_1
31085
+  (0.8ms) rollback transaction
31086
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
31087
+  (0.9ms) CREATE TABLE "purchases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid" boolean, "commission" decimal, "quantity" integer, "state" varchar, "expired_at" datetime, "amount" decimal, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
31088
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
31089
+  (0.1ms) select sqlite_version(*)
31090
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
31091
+  (0.1ms) SELECT version FROM "schema_migrations"
31092
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
31093
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
31094
+  (0.1ms) begin transaction
31095
+  (0.1ms) rollback transaction
31096
+  (0.1ms) begin transaction
31097
+  (0.0ms) rollback transaction
31098
+  (0.1ms) begin transaction
31099
+  (0.0ms) rollback transaction
31100
+  (0.1ms) begin transaction
31101
+  (0.0ms) rollback transaction
31102
+  (0.0ms) begin transaction
31103
+  (0.2ms) rollback transaction
31104
+  (0.3ms) begin transaction
31105
+  (0.1ms) rollback transaction
31106
+  (0.0ms) begin transaction
31107
+  (0.1ms) rollback transaction
31108
+  (0.1ms) begin transaction
31109
+  (0.0ms) rollback transaction
31110
+  (0.0ms) begin transaction
31111
+  (0.0ms) rollback transaction
31112
+  (0.3ms) begin transaction
31113
+  (0.0ms) rollback transaction
31114
+  (0.0ms) begin transaction
31115
+  (0.0ms) rollback transaction
31116
+  (0.0ms) begin transaction
31117
+  (0.1ms) rollback transaction
31118
+  (0.1ms) begin transaction
31119
+  (0.1ms) rollback transaction
31120
+  (0.1ms) begin transaction
31121
+  (0.0ms) rollback transaction
31122
+  (0.1ms) begin transaction
31123
+  (0.1ms) rollback transaction
31124
+  (0.1ms) begin transaction
31125
+  (0.1ms) rollback transaction
31126
+  (0.1ms) begin transaction
31127
+  (0.1ms) rollback transaction
31128
+  (0.1ms) begin transaction
31129
+  (0.1ms) rollback transaction
31130
+  (0.1ms) begin transaction
31131
+  (0.0ms) rollback transaction
31132
+  (0.0ms) begin transaction
31133
+  (0.0ms) rollback transaction
31134
+  (0.0ms) begin transaction
31135
+  (0.0ms) rollback transaction
31136
+  (0.0ms) begin transaction
31137
+  (0.1ms) rollback transaction
31138
+  (0.1ms) begin transaction
31139
+  (0.1ms) rollback transaction
31140
+  (0.1ms) begin transaction
31141
+  (0.1ms) rollback transaction
31142
+  (0.1ms) begin transaction
31143
+  (0.1ms) rollback transaction
31144
+  (0.0ms) begin transaction
31145
+  (0.1ms) rollback transaction
31146
+  (0.3ms) begin transaction
31147
+  (0.2ms) rollback transaction
31148
+  (0.1ms) begin transaction
31149
+  (0.1ms) rollback transaction
31150
+  (0.1ms) begin transaction
31151
+  (0.1ms) rollback transaction
31152
+  (0.1ms) begin transaction
31153
+  (0.1ms) rollback transaction
31154
+  (0.1ms) begin transaction
31155
+  (0.1ms) rollback transaction
31156
+  (0.1ms) begin transaction
31157
+  (0.1ms) rollback transaction
31158
+  (0.0ms) begin transaction
31159
+  (0.0ms) rollback transaction
31160
+  (0.0ms) begin transaction
31161
+  (0.0ms) rollback transaction
31162
+  (0.1ms) begin transaction
31163
+  (0.1ms) SAVEPOINT active_record_1
31164
+ SQL (0.6ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.179524"], ["updated_at", "2016-12-18 16:27:33.179524"]]
31165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31166
+  (0.3ms) rollback transaction
31167
+  (0.0ms) begin transaction
31168
+  (0.0ms) SAVEPOINT active_record_1
31169
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.188359"], ["updated_at", "2016-12-18 16:27:33.188359"]]
31170
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31171
+  (0.4ms) rollback transaction
31172
+  (0.1ms) begin transaction
31173
+  (0.9ms) SAVEPOINT active_record_1
31174
+ SQL (0.6ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.196580"], ["updated_at", "2016-12-18 16:27:33.196580"]]
31175
+  (0.3ms) RELEASE SAVEPOINT active_record_1
31176
+  (0.9ms) rollback transaction
31177
+  (0.2ms) begin transaction
31178
+  (0.1ms) SAVEPOINT active_record_1
31179
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.208085"], ["updated_at", "2016-12-18 16:27:33.208085"]]
31180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31181
+  (0.3ms) rollback transaction
31182
+  (0.1ms) begin transaction
31183
+  (0.0ms) SAVEPOINT active_record_1
31184
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.213530"], ["updated_at", "2016-12-18 16:27:33.213530"]]
31185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31186
+  (0.5ms) rollback transaction
31187
+  (0.1ms) begin transaction
31188
+  (0.0ms) SAVEPOINT active_record_1
31189
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.218473"], ["updated_at", "2016-12-18 16:27:33.218473"]]
31190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31191
+  (0.5ms) rollback transaction
31192
+  (0.1ms) begin transaction
31193
+  (0.1ms) SAVEPOINT active_record_1
31194
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.224472"], ["updated_at", "2016-12-18 16:27:33.224472"]]
31195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31196
+  (0.4ms) rollback transaction
31197
+  (0.1ms) begin transaction
31198
+  (0.0ms) SAVEPOINT active_record_1
31199
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.232356"], ["updated_at", "2016-12-18 16:27:33.232356"]]
31200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31201
+  (0.4ms) rollback transaction
31202
+  (0.1ms) begin transaction
31203
+  (0.0ms) SAVEPOINT active_record_1
31204
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.238784"], ["updated_at", "2016-12-18 16:27:33.238784"]]
31205
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31206
+  (0.3ms) rollback transaction
31207
+  (0.1ms) begin transaction
31208
+  (0.1ms) SAVEPOINT active_record_1
31209
+ SQL (1.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.243460"], ["updated_at", "2016-12-18 16:27:33.243460"]]
31210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31211
+  (0.8ms) rollback transaction
31212
+  (0.2ms) begin transaction
31213
+  (0.1ms) SAVEPOINT active_record_1
31214
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.256723"], ["updated_at", "2016-12-18 16:27:33.256723"]]
31215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31216
+  (0.2ms) rollback transaction
31217
+  (0.1ms) begin transaction
31218
+  (0.1ms) SAVEPOINT active_record_1
31219
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.261003"], ["updated_at", "2016-12-18 16:27:33.261003"]]
31220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31221
+  (0.4ms) rollback transaction
31222
+  (0.1ms) begin transaction
31223
+  (0.0ms) SAVEPOINT active_record_1
31224
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.264782"], ["updated_at", "2016-12-18 16:27:33.264782"]]
31225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31226
+  (0.3ms) rollback transaction
31227
+  (0.0ms) begin transaction
31228
+  (0.0ms) SAVEPOINT active_record_1
31229
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.268154"], ["updated_at", "2016-12-18 16:27:33.268154"]]
31230
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31231
+  (0.3ms) rollback transaction
31232
+  (0.1ms) begin transaction
31233
+  (0.1ms) SAVEPOINT active_record_1
31234
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.272925"], ["updated_at", "2016-12-18 16:27:33.272925"]]
31235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31236
+  (0.4ms) rollback transaction
31237
+  (0.1ms) begin transaction
31238
+  (0.1ms) SAVEPOINT active_record_1
31239
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.280307"], ["updated_at", "2016-12-18 16:27:33.280307"]]
31240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31241
+  (0.2ms) rollback transaction
31242
+  (0.1ms) begin transaction
31243
+  (0.1ms) SAVEPOINT active_record_1
31244
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.284053"], ["updated_at", "2016-12-18 16:27:33.284053"]]
31245
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31246
+  (0.3ms) rollback transaction
31247
+  (0.0ms) begin transaction
31248
+  (0.0ms) SAVEPOINT active_record_1
31249
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.287879"], ["updated_at", "2016-12-18 16:27:33.287879"]]
31250
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31251
+  (0.3ms) rollback transaction
31252
+  (0.1ms) begin transaction
31253
+  (0.0ms) SAVEPOINT active_record_1
31254
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.291655"], ["updated_at", "2016-12-18 16:27:33.291655"]]
31255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31256
+  (0.3ms) rollback transaction
31257
+  (0.1ms) begin transaction
31258
+  (0.1ms) SAVEPOINT active_record_1
31259
+ SQL (0.8ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.298878"], ["updated_at", "2016-12-18 16:27:33.298878"]]
31260
+  (0.2ms) RELEASE SAVEPOINT active_record_1
31261
+  (0.4ms) rollback transaction
31262
+  (0.1ms) begin transaction
31263
+  (0.1ms) SAVEPOINT active_record_1
31264
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.307708"], ["updated_at", "2016-12-18 16:27:33.307708"]]
31265
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31266
+  (0.3ms) rollback transaction
31267
+  (0.1ms) begin transaction
31268
+  (0.0ms) SAVEPOINT active_record_1
31269
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.311629"], ["updated_at", "2016-12-18 16:27:33.311629"]]
31270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31271
+  (0.3ms) rollback transaction
31272
+  (0.1ms) begin transaction
31273
+  (0.0ms) SAVEPOINT active_record_1
31274
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.316076"], ["updated_at", "2016-12-18 16:27:33.316076"]]
31275
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31276
+  (0.2ms) rollback transaction
31277
+  (0.0ms) begin transaction
31278
+  (0.0ms) SAVEPOINT active_record_1
31279
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.320771"], ["updated_at", "2016-12-18 16:27:33.320771"]]
31280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31281
+  (0.6ms) rollback transaction
31282
+  (0.1ms) begin transaction
31283
+  (0.1ms) SAVEPOINT active_record_1
31284
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.330239"], ["updated_at", "2016-12-18 16:27:33.330239"]]
31285
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31286
+  (0.3ms) rollback transaction
31287
+  (0.0ms) begin transaction
31288
+  (0.0ms) SAVEPOINT active_record_1
31289
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.334942"], ["updated_at", "2016-12-18 16:27:33.334942"]]
31290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31291
+  (0.3ms) rollback transaction
31292
+  (0.1ms) begin transaction
31293
+  (0.1ms) SAVEPOINT active_record_1
31294
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.339461"], ["updated_at", "2016-12-18 16:27:33.339461"]]
31295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31296
+  (0.3ms) rollback transaction
31297
+  (0.0ms) begin transaction
31298
+  (0.3ms) SAVEPOINT active_record_1
31299
+ SQL (0.6ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.346079"], ["updated_at", "2016-12-18 16:27:33.346079"]]
31300
+  (0.2ms) RELEASE SAVEPOINT active_record_1
31301
+  (0.8ms) rollback transaction
31302
+  (0.3ms) begin transaction
31303
+  (0.1ms) SAVEPOINT active_record_1
31304
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.357786"], ["updated_at", "2016-12-18 16:27:33.357786"]]
31305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31306
+  (0.3ms) rollback transaction
31307
+  (0.1ms) begin transaction
31308
+  (0.0ms) SAVEPOINT active_record_1
31309
+ SQL (0.3ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.362614"], ["updated_at", "2016-12-18 16:27:33.362614"]]
31310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31311
+  (0.3ms) rollback transaction
31312
+  (0.1ms) begin transaction
31313
+  (0.0ms) SAVEPOINT active_record_1
31314
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.367001"], ["updated_at", "2016-12-18 16:27:33.367001"]]
31315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31316
+  (0.2ms) rollback transaction
31317
+  (0.0ms) begin transaction
31318
+  (0.0ms) SAVEPOINT active_record_1
31319
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.370939"], ["updated_at", "2016-12-18 16:27:33.370939"]]
31320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31321
+  (0.5ms) rollback transaction
31322
+  (0.1ms) begin transaction
31323
+  (0.1ms) SAVEPOINT active_record_1
31324
+ SQL (0.2ms) INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-18 16:27:33.379610"], ["updated_at", "2016-12-18 16:27:33.379610"]]
31325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31326
+  (0.3ms) rollback transaction