money-rails 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.0
4
+ - Added basic support for Mongoid >= 3.0.
5
+ - Allow class methods to be monetized (ActiveRecord only - GH-34)
6
+
3
7
  ## 0.5.0
4
8
 
5
9
  - Refactored instance currency implementation. Now, instance currency
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Build Status](https://secure.travis-ci.org/RubyMoney/money-rails.png?branch=master)](http://travis-ci.org/RubyMoney/money-rails)
4
4
  [![Dependency Status](https://gemnasium.com/RubyMoney/money-rails.png)](https://gemnasium.com/RubyMoney/money-rails)
5
- [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/Robymoney/money-rails)
5
+ [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/RubyMoney/money-rails)
6
6
 
7
7
  ## Introduction
8
8
 
@@ -89,7 +89,7 @@ product.optional_price # => nil
89
89
  product.optional_price_cents # => nil
90
90
  ```
91
91
 
92
- ### Mongoid 2.X
92
+ ### Mongoid 2.x and 3.x
93
93
 
94
94
  `Money` is available as a field type to supply during a field definition:
95
95
 
@@ -128,6 +128,25 @@ obj[:price]
128
128
 
129
129
  The usual options on `field` as `index`, `default`, ..., are available.
130
130
 
131
+ ### Method conversion
132
+
133
+ Method return values can be converted in the same way attributes are converted. For example:
134
+
135
+ ```ruby
136
+ class Transaction < ActiveRecord::Base
137
+
138
+ monetize :price_cents
139
+ monetize :tax_cents
140
+ monetize :total_cents
141
+ def total_cents
142
+ return price_cents + tax_cents
143
+ end
144
+
145
+ end
146
+ ```
147
+
148
+ Now each Transaction object has a method called `total` which returns a Money object.
149
+
131
150
  ### Currencies
132
151
 
133
152
  Money-rails supports a set of options to handle currencies for your
@@ -318,6 +337,11 @@ without the cents part.
318
337
  This will render a formatted money value including the currency symbol and
319
338
  without the cents part.
320
339
 
340
+ ## Supported ORMs/ODMs
341
+
342
+ * ActiveRecord (>= 3.x)
343
+ * Mongoid (2.x, 3.x)
344
+
321
345
  ## Maintainers
322
346
 
323
347
  * Andreas Loupasakis (https://github.com/alup)
data/Rakefile CHANGED
@@ -20,7 +20,13 @@ task :default => "spec:all"
20
20
  task :test => :spec
21
21
 
22
22
  namespace :spec do
23
- desc "Run Tests against mongoid"
23
+ desc "Run Tests against mongoid (version 3)"
24
+ task :mongoid3 do
25
+ sh "BUNDLE_GEMFILE='gemfiles/mongoid3.gemfile' bundle --quiet"
26
+ sh "BUNDLE_GEMFILE='gemfiles/mongoid3.gemfile' bundle exec rake -t spec"
27
+ end
28
+
29
+ desc "Run Tests against mongoid (version 2)"
24
30
  task :mongoid2 do
25
31
  sh "BUNDLE_GEMFILE='gemfiles/mongoid2.gemfile' bundle --quiet"
26
32
  sh "BUNDLE_GEMFILE='gemfiles/mongoid2.gemfile' bundle exec rake -t spec"
@@ -34,6 +40,10 @@ namespace :spec do
34
40
 
35
41
  desc "Run Tests against all ORMs"
36
42
  task :all do
43
+ # Mongoid 3
44
+ sh "BUNDLE_GEMFILE='gemfiles/mongoid3.gemfile' bundle --quiet"
45
+ sh "BUNDLE_GEMFILE='gemfiles/mongoid3.gemfile' bundle exec rake -t spec"
46
+
37
47
  # Mongoid 2
38
48
  sh "BUNDLE_GEMFILE='gemfiles/mongoid2.gemfile' bundle --quiet"
39
49
  sh "BUNDLE_GEMFILE='gemfiles/mongoid2.gemfile' bundle exec rake -t spec"
@@ -49,8 +49,8 @@ module MoneyRails
49
49
  # Include numericality validation if needed
50
50
  validates_numericality_of subunit_name, :allow_nil => options[:allow_nil] if MoneyRails.include_validations
51
51
 
52
- define_method name do
53
- amount = send(subunit_name)
52
+ define_method name do |*args|
53
+ amount = send(subunit_name, *args)
54
54
  attr_currency = send("currency_for_#{name}")
55
55
 
56
56
  # Dont create a new Money instance if the values haven't changed
@@ -8,14 +8,14 @@ module MoneyRails
8
8
  end
9
9
 
10
10
  # For Mongoid
11
- begin; require 'mongoid'; rescue LoadError; end
11
+ begin; require 'mongoid'; require 'mongoid/version'; rescue LoadError; end
12
12
  if defined? ::Mongoid
13
13
  if ::Mongoid::VERSION =~ /^2(.*)/
14
14
  require 'money-rails/mongoid/two' # Loading the file is enough
15
15
  end
16
16
 
17
17
  if ::Mongoid::VERSION =~ /^3(.*)/
18
- # Mongoid 3.x stuff here
18
+ require 'money-rails/mongoid/three'
19
19
  end
20
20
  end
21
21
 
@@ -0,0 +1,40 @@
1
+ class Money
2
+
3
+ # Converts an object of this instance into a database friendly value.
4
+ def mongoize
5
+ {
6
+ :cents => cents,
7
+ :currency_iso => currency.iso_code
8
+ }
9
+ end
10
+
11
+ class << self
12
+
13
+ # Get the object as it was stored in the database, and instantiate
14
+ # this custom class from it.
15
+ def demongoize(object)
16
+ return nil if object.nil?
17
+
18
+ ::Money.new(object[:cents], object[:currency_iso])
19
+ end
20
+
21
+ # Takes any possible object and converts it to how it would be
22
+ # stored in the database.
23
+ def mongoize(object)
24
+ case object
25
+ when Money then object.mongoize
26
+ when Hash then ::Money.new(object[:cents], object[:currency]).mongoize
27
+ else object
28
+ end
29
+ end
30
+
31
+ # Converts the object that was supplied to a criteria and converts it
32
+ # into a database friendly form.
33
+ def evolve(object)
34
+ case object
35
+ when Money then object.mongoize
36
+ else object
37
+ end
38
+ end
39
+ end
40
+ end
@@ -1,3 +1,3 @@
1
1
  module MoneyRails
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
@@ -28,5 +28,5 @@ Gem::Specification.new do |s|
28
28
  s.add_development_dependency "rspec", "~> 2.10"
29
29
  s.add_development_dependency "rspec-rails", "~> 2.10"
30
30
  s.add_development_dependency "guard-rspec", "~> 1.1"
31
- s.add_development_dependency 'database_cleaner', ['>= 0']
31
+ s.add_development_dependency 'database_cleaner', ['>= 0.8.0']
32
32
  end
@@ -234,6 +234,10 @@ if defined? ActiveRecord
234
234
  @transaction.amount.currency_as_string.should == "USD"
235
235
  end
236
236
 
237
+ it "constructs the money object from the mapped method value" do
238
+ @transaction.total.should == Money.new(3000, :usd)
239
+ end
240
+
237
241
  end
238
242
  end
239
243
 
@@ -5,4 +5,9 @@ class Transaction < ActiveRecord::Base
5
5
  monetize :amount_cents
6
6
  monetize :tax_cents
7
7
 
8
+ monetize :total_cents
9
+ def total_cents
10
+ return amount_cents + tax_cents
11
+ end
12
+
8
13
  end
@@ -1,7 +1,23 @@
1
1
  development:
2
+ # For Mongoid 2.x
2
3
  host: localhost
3
4
  database: dummy_development
4
5
 
6
+ # For Mongoid 3.x
7
+ sessions:
8
+ default:
9
+ database: dummy_development
10
+ hosts:
11
+ - localhost:27017
12
+
5
13
  test:
14
+ # For Mongoid 2.x
6
15
  host: localhost
7
16
  database: dummy_test
17
+
18
+ # For Mongoid 3.x
19
+ sessions:
20
+ default:
21
+ database: dummy_test
22
+ hosts:
23
+ - localhost:27017
@@ -49456,3 +49456,1576 @@ Connecting to database specified by database.yml
49456
49456
   (0.0ms) rollback transaction
49457
49457
   (0.0ms) begin transaction
49458
49458
   (0.0ms) rollback transaction
49459
+ Connecting to database specified by database.yml
49460
+  (138.1ms) DELETE FROM "dummy_products";
49461
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'dummy_products';
49462
+  (110.2ms) DELETE FROM "products";
49463
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'products';
49464
+  (99.1ms) DELETE FROM "services";
49465
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'services';
49466
+  (99.6ms) DELETE FROM "transactions";
49467
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'transactions';
49468
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.9917ms)
49469
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (81.1441ms)
49470
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:drop=>"priceables"} (7.4360ms)
49471
+  (0.1ms) begin transaction
49472
+  (0.1ms) rollback transaction
49473
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3808ms)
49474
+  (0.1ms) begin transaction
49475
+  (0.1ms) rollback transaction
49476
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4046ms)
49477
+  (0.1ms) begin transaction
49478
+  (0.0ms) rollback transaction
49479
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3052ms)
49480
+  (0.1ms) begin transaction
49481
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=priceables documents=[{"_id"=>"50430c2ceac0746833000001", "price"=>{:cents=>100, :currency_iso=>"EUR"}}] flags=[] (0.1581ms)
49482
+  (0.1ms) rollback transaction
49483
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (10.5932ms)
49484
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:drop=>"priceables"} (0.6757ms)
49485
+  (0.1ms) begin transaction
49486
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=priceables documents=[{"_id"=>"50430c2ceac0746833000002", "price"=>{:cents=>100, :currency_iso=>"EUR"}}] flags=[] (0.2289ms)
49487
+  (0.1ms) rollback transaction
49488
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5617ms)
49489
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:drop=>"priceables"} (0.6890ms)
49490
+  (0.1ms) begin transaction
49491
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=priceables documents=[{"_id"=>"50430c2ceac0746833000003", "price"=>{:cents=>100, :currency_iso=>"EUR"}}] flags=[] (0.1996ms)
49492
+  (0.1ms) rollback transaction
49493
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4671ms)
49494
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:drop=>"priceables"} (0.5670ms)
49495
+  (0.1ms) begin transaction
49496
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=priceables documents=[{"_id"=>"50430c2ceac0746833000004", "price"=>{:cents=>100, :currency_iso=>"EUR"}}] flags=[] (0.7427ms)
49497
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=priceables documents=[{"_id"=>"50430c2ceac0746833000005", "price"=>nil}] flags=[] (0.0942ms)
49498
+  (0.1ms) rollback transaction
49499
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5260ms)
49500
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:drop=>"priceables"} (0.5918ms)
49501
+  (0.1ms) begin transaction
49502
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=priceables documents=[{"_id"=>"50430c2ceac0746833000006", "price"=>{:cents=>100, :currency_iso=>"EUR"}}] flags=[] (0.1585ms)
49503
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=priceables selector={"$query"=>{"price"=>{:cents=>100, :currency_iso=>"EUR"}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.6487ms)
49504
+  (0.1ms) rollback transaction
49505
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3347ms)
49506
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:drop=>"priceables"} (0.5896ms)
49507
+  (0.1ms) begin transaction
49508
+  (0.1ms) SAVEPOINT active_record_1
49509
+ SQL (19.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49511
+  (0.1ms) SAVEPOINT active_record_1
49512
+ SQL (0.4ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49514
+  (0.2ms) rollback transaction
49515
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4499ms)
49516
+  (0.1ms) begin transaction
49517
+  (0.0ms) SAVEPOINT active_record_1
49518
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49520
+  (0.1ms) SAVEPOINT active_record_1
49521
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49523
+  (0.1ms) rollback transaction
49524
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.6039ms)
49525
+  (0.2ms) begin transaction
49526
+  (0.0ms) SAVEPOINT active_record_1
49527
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49528
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49529
+  (0.0ms) SAVEPOINT active_record_1
49530
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49532
+  (0.0ms) SAVEPOINT active_record_1
49533
+  (0.2ms) UPDATE "products" SET "price_cents" = 3210, "updated_at" = '2012-09-02 07:35:08.733303' WHERE "products"."id" = 1
49534
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49535
+  (0.2ms) rollback transaction
49536
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.6115ms)
49537
+  (0.1ms) begin transaction
49538
+  (0.0ms) SAVEPOINT active_record_1
49539
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49541
+  (0.0ms) SAVEPOINT active_record_1
49542
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49543
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49544
+  (0.2ms) rollback transaction
49545
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4399ms)
49546
+  (0.1ms) begin transaction
49547
+  (0.0ms) SAVEPOINT active_record_1
49548
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49550
+  (0.0ms) SAVEPOINT active_record_1
49551
+ SQL (0.5ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49553
+  (0.0ms) SAVEPOINT active_record_1
49554
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
49555
+  (0.1ms) SAVEPOINT active_record_1
49556
+  (0.2ms) UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-09-02 07:35:08.773756' WHERE "products"."id" = 1
49557
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49558
+  (0.2ms) rollback transaction
49559
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4542ms)
49560
+  (0.1ms) begin transaction
49561
+  (0.0ms) SAVEPOINT active_record_1
49562
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49564
+  (0.0ms) SAVEPOINT active_record_1
49565
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49567
+  (0.0ms) SAVEPOINT active_record_1
49568
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
49569
+  (0.1ms) rollback transaction
49570
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3884ms)
49571
+  (0.1ms) begin transaction
49572
+  (0.0ms) SAVEPOINT active_record_1
49573
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49574
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49575
+  (0.0ms) SAVEPOINT active_record_1
49576
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49577
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49578
+  (0.0ms) SAVEPOINT active_record_1
49579
+  (0.1ms) UPDATE "products" SET "optional_price_cents" = NULL, "updated_at" = '2012-09-02 07:35:08.787283' WHERE "products"."id" = 1
49580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49581
+  (0.1ms) rollback transaction
49582
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4623ms)
49583
+  (0.1ms) begin transaction
49584
+  (0.0ms) SAVEPOINT active_record_1
49585
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49587
+  (0.0ms) SAVEPOINT active_record_1
49588
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49590
+  (0.1ms) rollback transaction
49591
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3319ms)
49592
+  (0.1ms) begin transaction
49593
+  (0.0ms) SAVEPOINT active_record_1
49594
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49596
+  (0.0ms) SAVEPOINT active_record_1
49597
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49599
+  (0.1ms) rollback transaction
49600
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4115ms)
49601
+  (0.1ms) begin transaction
49602
+  (0.0ms) SAVEPOINT active_record_1
49603
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49605
+  (0.0ms) SAVEPOINT active_record_1
49606
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49607
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49608
+  (0.2ms) rollback transaction
49609
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3922ms)
49610
+  (0.1ms) begin transaction
49611
+  (0.0ms) SAVEPOINT active_record_1
49612
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49614
+  (0.0ms) SAVEPOINT active_record_1
49615
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49617
+  (0.0ms) SAVEPOINT active_record_1
49618
+  (0.1ms) UPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-09-02 07:35:08.808778' WHERE "products"."id" = 1
49619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49620
+  (0.2ms) rollback transaction
49621
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4449ms)
49622
+  (0.1ms) begin transaction
49623
+  (0.0ms) SAVEPOINT active_record_1
49624
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49625
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49626
+  (0.0ms) SAVEPOINT active_record_1
49627
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49628
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49629
+  (0.0ms) SAVEPOINT active_record_1
49630
+  (0.2ms) UPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-09-02 07:35:08.815464' WHERE "products"."id" = 1
49631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49632
+  (0.0ms) SAVEPOINT active_record_1
49633
+  (0.1ms) UPDATE "services" SET "discount_cents" = 200, "updated_at" = '2012-09-02 07:35:08.817438' WHERE "services"."id" = 1
49634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49635
+  (0.2ms) rollback transaction
49636
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4027ms)
49637
+  (0.1ms) begin transaction
49638
+  (0.0ms) SAVEPOINT active_record_1
49639
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49641
+  (0.0ms) SAVEPOINT active_record_1
49642
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49644
+  (0.0ms) SAVEPOINT active_record_1
49645
+  (0.1ms) UPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-09-02 07:35:08.824206' WHERE "products"."id" = 1
49646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49647
+  (0.0ms) SAVEPOINT active_record_1
49648
+  (0.1ms) UPDATE "services" SET "discount_cents" = 200, "updated_at" = '2012-09-02 07:35:08.825496' WHERE "services"."id" = 1
49649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49650
+  (0.2ms) rollback transaction
49651
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5543ms)
49652
+  (0.1ms) begin transaction
49653
+  (0.0ms) SAVEPOINT active_record_1
49654
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49656
+  (0.0ms) SAVEPOINT active_record_1
49657
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49658
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49659
+  (0.0ms) SAVEPOINT active_record_1
49660
+  (0.1ms) UPDATE "products" SET "bonus_cents" = 2500, "updated_at" = '2012-09-02 07:35:08.831580' WHERE "products"."id" = 1
49661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49662
+  (0.0ms) SAVEPOINT active_record_1
49663
+  (0.1ms) UPDATE "services" SET "charge_cents" = 200, "updated_at" = '2012-09-02 07:35:08.832934' WHERE "services"."id" = 1
49664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49665
+  (0.2ms) rollback transaction
49666
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3767ms)
49667
+  (0.1ms) begin transaction
49668
+  (0.0ms) SAVEPOINT active_record_1
49669
+ SQL (0.5ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49671
+  (0.0ms) SAVEPOINT active_record_1
49672
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49674
+  (0.0ms) SAVEPOINT active_record_1
49675
+  (0.1ms) UPDATE "products" SET "bonus_cents" = 2500, "updated_at" = '2012-09-02 07:35:08.839272' WHERE "products"."id" = 1
49676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49677
+  (0.0ms) SAVEPOINT active_record_1
49678
+  (0.1ms) UPDATE "services" SET "charge_cents" = 200, "updated_at" = '2012-09-02 07:35:08.840675' WHERE "services"."id" = 1
49679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49680
+  (0.1ms) rollback transaction
49681
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3757ms)
49682
+  (0.1ms) begin transaction
49683
+  (0.0ms) SAVEPOINT active_record_1
49684
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49685
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49686
+  (0.0ms) SAVEPOINT active_record_1
49687
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49689
+  (0.0ms) SAVEPOINT active_record_1
49690
+  (0.2ms) UPDATE "products" SET "discount" = 500, "updated_at" = '2012-09-02 07:35:08.846962' WHERE "products"."id" = 1
49691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49692
+  (0.2ms) rollback transaction
49693
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4411ms)
49694
+  (0.1ms) begin transaction
49695
+  (0.0ms) SAVEPOINT active_record_1
49696
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49698
+  (0.0ms) SAVEPOINT active_record_1
49699
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49701
+  (0.0ms) SAVEPOINT active_record_1
49702
+  (0.1ms) UPDATE "products" SET "discount" = 500, "updated_at" = '2012-09-02 07:35:08.853710' WHERE "products"."id" = 1
49703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49704
+  (0.1ms) rollback transaction
49705
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3791ms)
49706
+  (0.1ms) begin transaction
49707
+  (0.0ms) SAVEPOINT active_record_1
49708
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49710
+  (0.0ms) SAVEPOINT active_record_1
49711
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49712
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49713
+  (0.0ms) SAVEPOINT active_record_1
49714
+  (0.1ms) UPDATE "services" SET "discount_cents" = 500, "updated_at" = '2012-09-02 07:35:08.859771' WHERE "services"."id" = 1
49715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49716
+  (0.1ms) rollback transaction
49717
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3884ms)
49718
+  (0.1ms) begin transaction
49719
+  (0.0ms) SAVEPOINT active_record_1
49720
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49721
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49722
+  (0.0ms) SAVEPOINT active_record_1
49723
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49725
+  (0.0ms) SAVEPOINT active_record_1
49726
+  (0.1ms) UPDATE "services" SET "discount_cents" = 500, "updated_at" = '2012-09-02 07:35:08.866000' WHERE "services"."id" = 1
49727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49728
+  (0.2ms) rollback transaction
49729
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4823ms)
49730
+  (0.1ms) begin transaction
49731
+  (0.0ms) SAVEPOINT active_record_1
49732
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49734
+  (0.0ms) SAVEPOINT active_record_1
49735
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49737
+  (0.0ms) SAVEPOINT active_record_1
49738
+  (0.1ms) UPDATE "products" SET "optional_price_cents" = NULL, "updated_at" = '2012-09-02 07:35:08.872708' WHERE "products"."id" = 1
49739
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49740
+  (0.1ms) rollback transaction
49741
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4315ms)
49742
+  (0.1ms) begin transaction
49743
+  (0.0ms) SAVEPOINT active_record_1
49744
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49746
+  (0.0ms) SAVEPOINT active_record_1
49747
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49748
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49749
+  (0.0ms) SAVEPOINT active_record_1
49750
+ SQL (0.2ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 320], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 350], ["optional_price_cents", nil], ["price_cents", 5320], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49752
+  (0.1ms) rollback transaction
49753
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3850ms)
49754
+  (0.1ms) begin transaction
49755
+  (0.0ms) SAVEPOINT active_record_1
49756
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49757
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49758
+  (0.0ms) SAVEPOINT active_record_1
49759
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49761
+  (0.0ms) SAVEPOINT active_record_1
49762
+  (0.1ms) UPDATE "products" SET "optional_price_cents" = NULL, "updated_at" = '2012-09-02 07:35:08.885117' WHERE "products"."id" = 1
49763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49764
+  (0.1ms) rollback transaction
49765
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3612ms)
49766
+  (0.1ms) begin transaction
49767
+  (0.0ms) SAVEPOINT active_record_1
49768
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49770
+  (0.0ms) SAVEPOINT active_record_1
49771
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49772
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49773
+  (0.0ms) SAVEPOINT active_record_1
49774
+ SQL (0.2ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 320], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 350], ["optional_price_cents", nil], ["price_cents", 5320], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49776
+  (0.1ms) rollback transaction
49777
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3819ms)
49778
+  (0.1ms) begin transaction
49779
+  (0.0ms) SAVEPOINT active_record_1
49780
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49781
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49782
+  (0.0ms) SAVEPOINT active_record_1
49783
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49785
+  (0.0ms) SAVEPOINT active_record_1
49786
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
49787
+  (0.2ms) rollback transaction
49788
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4478ms)
49789
+  (0.1ms) begin transaction
49790
+  (0.0ms) SAVEPOINT active_record_1
49791
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49793
+  (0.0ms) SAVEPOINT active_record_1
49794
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49795
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49796
+  (0.0ms) SAVEPOINT active_record_1
49797
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
49798
+  (0.1ms) rollback transaction
49799
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4139ms)
49800
+  (0.1ms) begin transaction
49801
+  (0.0ms) SAVEPOINT active_record_1
49802
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49804
+  (0.0ms) SAVEPOINT active_record_1
49805
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49807
+  (0.1ms) SAVEPOINT active_record_1
49808
+ SQL (0.4ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49810
+  (0.1ms) SAVEPOINT active_record_1
49811
+ SQL (0.3ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49813
+  (0.0ms) SAVEPOINT active_record_1
49814
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49816
+  (0.0ms) SAVEPOINT active_record_1
49817
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", "EUR"], ["price_cents", 10], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49819
+ DummyProduct Load (0.2ms) SELECT "dummy_products".* FROM "dummy_products" WHERE "dummy_products"."id" = ? LIMIT 1 [["id", 3]]
49820
+  (0.2ms) rollback transaction
49821
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4628ms)
49822
+  (0.1ms) begin transaction
49823
+  (0.0ms) SAVEPOINT active_record_1
49824
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49826
+  (0.0ms) SAVEPOINT active_record_1
49827
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49829
+  (0.0ms) SAVEPOINT active_record_1
49830
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49832
+  (0.0ms) SAVEPOINT active_record_1
49833
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49835
+  (0.0ms) SAVEPOINT active_record_1
49836
+ SQL (0.1ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49838
+  (0.2ms) rollback transaction
49839
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4392ms)
49840
+  (0.1ms) begin transaction
49841
+  (0.0ms) SAVEPOINT active_record_1
49842
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49844
+  (0.0ms) SAVEPOINT active_record_1
49845
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49847
+  (0.0ms) SAVEPOINT active_record_1
49848
+ SQL (0.3ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49850
+  (0.0ms) SAVEPOINT active_record_1
49851
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49853
+  (0.0ms) SAVEPOINT active_record_1
49854
+ SQL (0.3ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49856
+  (0.2ms) rollback transaction
49857
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4103ms)
49858
+  (0.1ms) begin transaction
49859
+  (0.0ms) SAVEPOINT active_record_1
49860
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49862
+  (0.0ms) SAVEPOINT active_record_1
49863
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49864
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49865
+  (0.0ms) SAVEPOINT active_record_1
49866
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49868
+  (0.0ms) SAVEPOINT active_record_1
49869
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49870
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49871
+  (0.0ms) SAVEPOINT active_record_1
49872
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49874
+  (0.2ms) rollback transaction
49875
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4463ms)
49876
+  (0.1ms) begin transaction
49877
+  (0.0ms) SAVEPOINT active_record_1
49878
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49879
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49880
+  (0.0ms) SAVEPOINT active_record_1
49881
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49883
+  (0.0ms) SAVEPOINT active_record_1
49884
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49886
+  (0.0ms) SAVEPOINT active_record_1
49887
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49888
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49889
+  (0.0ms) SAVEPOINT active_record_1
49890
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49891
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49892
+  (0.2ms) rollback transaction
49893
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3703ms)
49894
+  (0.1ms) begin transaction
49895
+  (0.0ms) SAVEPOINT active_record_1
49896
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49898
+  (0.0ms) SAVEPOINT active_record_1
49899
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49901
+  (0.0ms) SAVEPOINT active_record_1
49902
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49904
+  (0.0ms) SAVEPOINT active_record_1
49905
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49907
+  (0.0ms) SAVEPOINT active_record_1
49908
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49910
+  (0.2ms) rollback transaction
49911
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3986ms)
49912
+  (0.1ms) begin transaction
49913
+  (0.1ms) SAVEPOINT active_record_1
49914
+ SQL (0.5ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49915
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49916
+  (0.0ms) SAVEPOINT active_record_1
49917
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49919
+  (0.0ms) SAVEPOINT active_record_1
49920
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49922
+  (0.0ms) SAVEPOINT active_record_1
49923
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49925
+  (0.0ms) SAVEPOINT active_record_1
49926
+ SQL (0.1ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49928
+  (0.0ms) SAVEPOINT active_record_1
49929
+  (0.2ms) UPDATE "transactions" SET "amount_cents" = 2500, "currency" = 'EUR', "updated_at" = '2012-09-02 07:35:08.994656' WHERE "transactions"."id" = 1
49930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49931
+  (0.2ms) rollback transaction
49932
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4292ms)
49933
+  (0.1ms) begin transaction
49934
+  (0.0ms) SAVEPOINT active_record_1
49935
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:08 UTC +00:00]]
49936
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49937
+  (0.0ms) SAVEPOINT active_record_1
49938
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:09 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:09 UTC +00:00]]
49939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49940
+  (0.0ms) SAVEPOINT active_record_1
49941
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:09 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:09 UTC +00:00]]
49942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49943
+  (0.0ms) SAVEPOINT active_record_1
49944
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:09 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:09 UTC +00:00]]
49945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49946
+  (0.0ms) SAVEPOINT active_record_1
49947
+ SQL (0.1ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:09 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:09 UTC +00:00]]
49948
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49949
+  (0.2ms) rollback transaction
49950
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4048ms)
49951
+  (0.1ms) begin transaction
49952
+  (0.0ms) rollback transaction
49953
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2804ms)
49954
+  (0.1ms) begin transaction
49955
+  (0.1ms) rollback transaction
49956
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5016ms)
49957
+  (0.1ms) begin transaction
49958
+  (0.1ms) rollback transaction
49959
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3691ms)
49960
+  (0.1ms) begin transaction
49961
+  (0.1ms) rollback transaction
49962
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3872ms)
49963
+  (0.1ms) begin transaction
49964
+  (0.0ms) rollback transaction
49965
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3939ms)
49966
+  (0.1ms) begin transaction
49967
+  (0.0ms) rollback transaction
49968
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3288ms)
49969
+  (0.1ms) begin transaction
49970
+  (0.2ms) rollback transaction
49971
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3664ms)
49972
+  (0.1ms) begin transaction
49973
+  (0.1ms) rollback transaction
49974
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3800ms)
49975
+  (0.1ms) begin transaction
49976
+  (0.0ms) rollback transaction
49977
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3266ms)
49978
+  (0.1ms) begin transaction
49979
+  (0.0ms) rollback transaction
49980
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3271ms)
49981
+  (0.1ms) begin transaction
49982
+  (0.0ms) rollback transaction
49983
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3304ms)
49984
+  (0.1ms) begin transaction
49985
+  (0.1ms) rollback transaction
49986
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4063ms)
49987
+  (0.1ms) begin transaction
49988
+  (0.1ms) rollback transaction
49989
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3834ms)
49990
+  (0.1ms) begin transaction
49991
+  (0.1ms) rollback transaction
49992
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4587ms)
49993
+  (0.1ms) begin transaction
49994
+  (0.0ms) rollback transaction
49995
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3631ms)
49996
+ MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production.
49997
+ MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
49998
+ Connecting to database specified by database.yml
49999
+  (105.0ms) DELETE FROM "dummy_products";
50000
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'dummy_products';
50001
+  (76.7ms) DELETE FROM "products";
50002
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'products';
50003
+  (77.0ms) DELETE FROM "services";
50004
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'services';
50005
+  (66.0ms) DELETE FROM "transactions";
50006
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'transactions';
50007
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50008
+  (0.2ms) begin transaction
50009
+  (0.1ms) rollback transaction
50010
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50011
+  (0.1ms) begin transaction
50012
+  (0.1ms) rollback transaction
50013
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50014
+  (0.1ms) begin transaction
50015
+  (0.0ms) rollback transaction
50016
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50017
+  (0.1ms) begin transaction
50018
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50019
+ MONGODB (0ms) dummy_test['$cmd'].find({:create=>"priceables"}).limit(-1)
50020
+ MONGODB (0ms) dummy_test['priceables'].insert([{"_id"=>BSON::ObjectId('50430c39eac0743376000001'), "price"=>{:cents=>100, :currency_iso=>"EUR"}}])
50021
+  (0.1ms) rollback transaction
50022
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50023
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50024
+  (0.1ms) begin transaction
50025
+ MONGODB (0ms) dummy_test['priceables'].insert([{"_id"=>BSON::ObjectId('50430c39eac0743376000002'), "price"=>{:cents=>100, :currency_iso=>"EUR"}}])
50026
+  (0.1ms) rollback transaction
50027
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50028
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50029
+  (0.1ms) begin transaction
50030
+ MONGODB (0ms) dummy_test['priceables'].insert([{"_id"=>BSON::ObjectId('50430c39eac0743376000003'), "price"=>{:cents=>100, :currency_iso=>"EUR"}}])
50031
+  (0.1ms) rollback transaction
50032
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50033
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50034
+  (0.1ms) begin transaction
50035
+ MONGODB (0ms) dummy_test['priceables'].insert([{"_id"=>BSON::ObjectId('50430c39eac0743376000004'), "price"=>nil}])
50036
+  (0.1ms) rollback transaction
50037
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50038
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50039
+  (0.1ms) begin transaction
50040
+  (0.1ms) SAVEPOINT active_record_1
50041
+ SQL (7.2ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50043
+  (0.1ms) SAVEPOINT active_record_1
50044
+ SQL (0.4ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50046
+  (0.2ms) rollback transaction
50047
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50048
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50049
+  (0.1ms) begin transaction
50050
+  (0.0ms) SAVEPOINT active_record_1
50051
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50053
+  (0.0ms) SAVEPOINT active_record_1
50054
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50056
+  (0.1ms) rollback transaction
50057
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50058
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50059
+  (0.1ms) begin transaction
50060
+  (0.0ms) SAVEPOINT active_record_1
50061
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50063
+  (0.0ms) SAVEPOINT active_record_1
50064
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50066
+  (0.0ms) SAVEPOINT active_record_1
50067
+  (0.2ms) UPDATE "products" SET "price_cents" = 3210, "updated_at" = '2012-09-02 07:35:21.887448' WHERE "products"."id" = 1
50068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50069
+  (0.2ms) rollback transaction
50070
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50071
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50072
+  (0.1ms) begin transaction
50073
+  (0.0ms) SAVEPOINT active_record_1
50074
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50075
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50076
+  (0.0ms) SAVEPOINT active_record_1
50077
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50079
+  (0.2ms) rollback transaction
50080
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50081
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50082
+  (0.1ms) begin transaction
50083
+  (0.0ms) SAVEPOINT active_record_1
50084
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50085
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50086
+  (0.0ms) SAVEPOINT active_record_1
50087
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50088
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50089
+  (0.0ms) SAVEPOINT active_record_1
50090
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
50091
+  (0.1ms) SAVEPOINT active_record_1
50092
+  (0.2ms) UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-09-02 07:35:21.955870' WHERE "products"."id" = 1
50093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50094
+  (0.2ms) rollback transaction
50095
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50096
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50097
+  (0.1ms) begin transaction
50098
+  (0.0ms) SAVEPOINT active_record_1
50099
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50100
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50101
+  (0.0ms) SAVEPOINT active_record_1
50102
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50104
+  (0.0ms) SAVEPOINT active_record_1
50105
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
50106
+  (0.2ms) rollback transaction
50107
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50108
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50109
+  (0.1ms) begin transaction
50110
+  (0.0ms) SAVEPOINT active_record_1
50111
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50113
+  (0.0ms) SAVEPOINT active_record_1
50114
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50116
+  (0.0ms) SAVEPOINT active_record_1
50117
+  (0.1ms) UPDATE "products" SET "optional_price_cents" = NULL, "updated_at" = '2012-09-02 07:35:21.970604' WHERE "products"."id" = 1
50118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50119
+  (0.1ms) rollback transaction
50120
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50121
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50122
+  (0.1ms) begin transaction
50123
+  (0.0ms) SAVEPOINT active_record_1
50124
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50125
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50126
+  (0.0ms) SAVEPOINT active_record_1
50127
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50129
+  (0.1ms) rollback transaction
50130
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50131
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50132
+  (0.1ms) begin transaction
50133
+  (0.0ms) SAVEPOINT active_record_1
50134
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50136
+  (0.0ms) SAVEPOINT active_record_1
50137
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50139
+  (0.1ms) rollback transaction
50140
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50141
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50142
+  (0.1ms) begin transaction
50143
+  (0.0ms) SAVEPOINT active_record_1
50144
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50146
+  (0.0ms) SAVEPOINT active_record_1
50147
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50149
+  (0.2ms) rollback transaction
50150
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50151
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50152
+  (0.1ms) begin transaction
50153
+  (0.0ms) SAVEPOINT active_record_1
50154
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50155
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50156
+  (0.0ms) SAVEPOINT active_record_1
50157
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50159
+  (0.0ms) SAVEPOINT active_record_1
50160
+  (0.1ms) UPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-09-02 07:35:21.993430' WHERE "products"."id" = 1
50161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50162
+  (0.1ms) rollback transaction
50163
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50164
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50165
+  (0.1ms) begin transaction
50166
+  (0.0ms) SAVEPOINT active_record_1
50167
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50169
+  (0.0ms) SAVEPOINT active_record_1
50170
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:21 UTC +00:00]]
50171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50172
+  (0.0ms) SAVEPOINT active_record_1
50173
+  (0.1ms) UPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-09-02 07:35:22.000093' WHERE "products"."id" = 1
50174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50175
+  (0.0ms) SAVEPOINT active_record_1
50176
+  (0.1ms) UPDATE "services" SET "discount_cents" = 200, "updated_at" = '2012-09-02 07:35:22.001713' WHERE "services"."id" = 1
50177
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50178
+  (0.2ms) rollback transaction
50179
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50180
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50181
+  (0.1ms) begin transaction
50182
+  (0.0ms) SAVEPOINT active_record_1
50183
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50185
+  (0.0ms) SAVEPOINT active_record_1
50186
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50187
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50188
+  (0.0ms) SAVEPOINT active_record_1
50189
+  (0.1ms) UPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-09-02 07:35:22.008528' WHERE "products"."id" = 1
50190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50191
+  (0.0ms) SAVEPOINT active_record_1
50192
+  (0.1ms) UPDATE "services" SET "discount_cents" = 200, "updated_at" = '2012-09-02 07:35:22.009722' WHERE "services"."id" = 1
50193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50194
+  (0.1ms) rollback transaction
50195
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50196
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50197
+  (0.1ms) begin transaction
50198
+  (0.0ms) SAVEPOINT active_record_1
50199
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50201
+  (0.0ms) SAVEPOINT active_record_1
50202
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50204
+  (0.0ms) SAVEPOINT active_record_1
50205
+  (0.2ms) UPDATE "products" SET "bonus_cents" = 2500, "updated_at" = '2012-09-02 07:35:22.015525' WHERE "products"."id" = 1
50206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50207
+  (0.0ms) SAVEPOINT active_record_1
50208
+  (0.1ms) UPDATE "services" SET "charge_cents" = 200, "updated_at" = '2012-09-02 07:35:22.017278' WHERE "services"."id" = 1
50209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50210
+  (0.2ms) rollback transaction
50211
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50212
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50213
+  (0.1ms) begin transaction
50214
+  (0.0ms) SAVEPOINT active_record_1
50215
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50217
+  (0.0ms) SAVEPOINT active_record_1
50218
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50219
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50220
+  (0.0ms) SAVEPOINT active_record_1
50221
+  (0.1ms) UPDATE "products" SET "bonus_cents" = 2500, "updated_at" = '2012-09-02 07:35:22.023743' WHERE "products"."id" = 1
50222
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50223
+  (0.0ms) SAVEPOINT active_record_1
50224
+  (0.1ms) UPDATE "services" SET "charge_cents" = 200, "updated_at" = '2012-09-02 07:35:22.025113' WHERE "services"."id" = 1
50225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50226
+  (0.1ms) rollback transaction
50227
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50228
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50229
+  (0.1ms) begin transaction
50230
+  (0.0ms) SAVEPOINT active_record_1
50231
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50233
+  (0.0ms) SAVEPOINT active_record_1
50234
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50236
+  (0.0ms) SAVEPOINT active_record_1
50237
+  (0.1ms) UPDATE "products" SET "discount" = 500, "updated_at" = '2012-09-02 07:35:22.031473' WHERE "products"."id" = 1
50238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50239
+  (0.2ms) rollback transaction
50240
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50241
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50242
+  (0.1ms) begin transaction
50243
+  (0.0ms) SAVEPOINT active_record_1
50244
+ SQL (0.6ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50245
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50246
+  (0.0ms) SAVEPOINT active_record_1
50247
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50249
+  (0.0ms) SAVEPOINT active_record_1
50250
+  (0.1ms) UPDATE "products" SET "discount" = 500, "updated_at" = '2012-09-02 07:35:22.038597' WHERE "products"."id" = 1
50251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50252
+  (0.1ms) rollback transaction
50253
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50254
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50255
+  (0.1ms) begin transaction
50256
+  (0.0ms) SAVEPOINT active_record_1
50257
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50259
+  (0.0ms) SAVEPOINT active_record_1
50260
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50262
+  (0.0ms) SAVEPOINT active_record_1
50263
+  (0.1ms) UPDATE "services" SET "discount_cents" = 500, "updated_at" = '2012-09-02 07:35:22.044584' WHERE "services"."id" = 1
50264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50265
+  (0.3ms) rollback transaction
50266
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50267
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50268
+  (0.1ms) begin transaction
50269
+  (0.0ms) SAVEPOINT active_record_1
50270
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50272
+  (0.0ms) SAVEPOINT active_record_1
50273
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50275
+  (0.0ms) SAVEPOINT active_record_1
50276
+  (0.1ms) UPDATE "services" SET "discount_cents" = 500, "updated_at" = '2012-09-02 07:35:22.051702' WHERE "services"."id" = 1
50277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50278
+  (0.2ms) rollback transaction
50279
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50280
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50281
+  (0.1ms) begin transaction
50282
+  (0.0ms) SAVEPOINT active_record_1
50283
+ SQL (0.5ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50285
+  (0.0ms) SAVEPOINT active_record_1
50286
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50288
+  (0.0ms) SAVEPOINT active_record_1
50289
+  (0.1ms) UPDATE "products" SET "optional_price_cents" = NULL, "updated_at" = '2012-09-02 07:35:22.059035' WHERE "products"."id" = 1
50290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50291
+  (0.1ms) rollback transaction
50292
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50293
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50294
+  (0.1ms) begin transaction
50295
+  (0.0ms) SAVEPOINT active_record_1
50296
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50297
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50298
+  (0.0ms) SAVEPOINT active_record_1
50299
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50301
+  (0.0ms) SAVEPOINT active_record_1
50302
+ SQL (0.6ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 320], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 350], ["optional_price_cents", nil], ["price_cents", 5320], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50304
+  (0.2ms) rollback transaction
50305
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50306
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50307
+  (0.1ms) begin transaction
50308
+  (0.0ms) SAVEPOINT active_record_1
50309
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50311
+  (0.0ms) SAVEPOINT active_record_1
50312
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50314
+  (0.0ms) SAVEPOINT active_record_1
50315
+  (0.1ms) UPDATE "products" SET "optional_price_cents" = NULL, "updated_at" = '2012-09-02 07:35:22.113234' WHERE "products"."id" = 1
50316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50317
+  (0.2ms) rollback transaction
50318
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50319
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50320
+  (0.2ms) begin transaction
50321
+  (0.1ms) SAVEPOINT active_record_1
50322
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50323
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50324
+  (0.0ms) SAVEPOINT active_record_1
50325
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50326
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50327
+  (0.0ms) SAVEPOINT active_record_1
50328
+ SQL (0.2ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 320], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 350], ["optional_price_cents", nil], ["price_cents", 5320], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50330
+  (0.2ms) rollback transaction
50331
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50332
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50333
+  (0.1ms) begin transaction
50334
+  (0.0ms) SAVEPOINT active_record_1
50335
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50337
+  (0.0ms) SAVEPOINT active_record_1
50338
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50340
+  (0.0ms) SAVEPOINT active_record_1
50341
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
50342
+  (0.2ms) rollback transaction
50343
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50344
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50345
+  (0.1ms) begin transaction
50346
+  (0.0ms) SAVEPOINT active_record_1
50347
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50349
+  (0.0ms) SAVEPOINT active_record_1
50350
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50352
+  (0.0ms) SAVEPOINT active_record_1
50353
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
50354
+  (0.2ms) rollback transaction
50355
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50356
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50357
+  (0.1ms) begin transaction
50358
+  (0.0ms) SAVEPOINT active_record_1
50359
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50361
+  (0.0ms) SAVEPOINT active_record_1
50362
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50364
+  (0.1ms) SAVEPOINT active_record_1
50365
+ SQL (0.4ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50366
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50367
+  (0.1ms) SAVEPOINT active_record_1
50368
+ SQL (0.3ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50369
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50370
+  (0.0ms) SAVEPOINT active_record_1
50371
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50373
+  (0.0ms) SAVEPOINT active_record_1
50374
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", "EUR"], ["price_cents", 10], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50376
+ DummyProduct Load (0.2ms) SELECT "dummy_products".* FROM "dummy_products" WHERE "dummy_products"."id" = ? LIMIT 1 [["id", 3]]
50377
+  (0.2ms) rollback transaction
50378
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50379
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50380
+  (0.1ms) begin transaction
50381
+  (0.0ms) SAVEPOINT active_record_1
50382
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50384
+  (0.0ms) SAVEPOINT active_record_1
50385
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50386
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50387
+  (0.0ms) SAVEPOINT active_record_1
50388
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50389
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50390
+  (0.0ms) SAVEPOINT active_record_1
50391
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50393
+  (0.0ms) SAVEPOINT active_record_1
50394
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50396
+  (0.2ms) rollback transaction
50397
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50398
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50399
+  (0.1ms) begin transaction
50400
+  (0.0ms) SAVEPOINT active_record_1
50401
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50403
+  (0.0ms) SAVEPOINT active_record_1
50404
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50406
+  (0.0ms) SAVEPOINT active_record_1
50407
+ SQL (0.3ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50409
+  (0.0ms) SAVEPOINT active_record_1
50410
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50412
+  (0.0ms) SAVEPOINT active_record_1
50413
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50414
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50415
+  (0.2ms) rollback transaction
50416
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50417
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50418
+  (0.1ms) begin transaction
50419
+  (0.0ms) SAVEPOINT active_record_1
50420
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50422
+  (0.0ms) SAVEPOINT active_record_1
50423
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50425
+  (0.0ms) SAVEPOINT active_record_1
50426
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50428
+  (0.0ms) SAVEPOINT active_record_1
50429
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50431
+  (0.0ms) SAVEPOINT active_record_1
50432
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50434
+  (0.2ms) rollback transaction
50435
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50436
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50437
+  (0.1ms) begin transaction
50438
+  (0.0ms) SAVEPOINT active_record_1
50439
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50441
+  (0.0ms) SAVEPOINT active_record_1
50442
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50444
+  (0.0ms) SAVEPOINT active_record_1
50445
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50446
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50447
+  (0.0ms) SAVEPOINT active_record_1
50448
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50450
+  (0.0ms) SAVEPOINT active_record_1
50451
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50453
+  (0.2ms) rollback transaction
50454
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50455
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50456
+  (0.1ms) begin transaction
50457
+  (0.0ms) SAVEPOINT active_record_1
50458
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50459
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50460
+  (0.0ms) SAVEPOINT active_record_1
50461
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50463
+  (0.0ms) SAVEPOINT active_record_1
50464
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50466
+  (0.0ms) SAVEPOINT active_record_1
50467
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50469
+  (0.0ms) SAVEPOINT active_record_1
50470
+ SQL (0.1ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50472
+  (0.2ms) rollback transaction
50473
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50474
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50475
+  (0.1ms) begin transaction
50476
+  (0.1ms) SAVEPOINT active_record_1
50477
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50479
+  (0.0ms) SAVEPOINT active_record_1
50480
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50482
+  (0.0ms) SAVEPOINT active_record_1
50483
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50485
+  (0.0ms) SAVEPOINT active_record_1
50486
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50488
+  (0.0ms) SAVEPOINT active_record_1
50489
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50490
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50491
+  (0.0ms) SAVEPOINT active_record_1
50492
+  (0.1ms) UPDATE "transactions" SET "amount_cents" = 2500, "currency" = 'EUR', "updated_at" = '2012-09-02 07:35:22.224420' WHERE "transactions"."id" = 1
50493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50494
+  (0.2ms) rollback transaction
50495
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50496
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50497
+  (0.1ms) begin transaction
50498
+  (0.0ms) SAVEPOINT active_record_1
50499
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50501
+  (0.0ms) SAVEPOINT active_record_1
50502
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50504
+  (0.0ms) SAVEPOINT active_record_1
50505
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50507
+  (0.0ms) SAVEPOINT active_record_1
50508
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50509
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50510
+  (0.0ms) SAVEPOINT active_record_1
50511
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:22 UTC +00:00]]
50512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50513
+  (0.2ms) rollback transaction
50514
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50515
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50516
+  (0.1ms) begin transaction
50517
+  (0.0ms) rollback transaction
50518
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50519
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50520
+  (0.1ms) begin transaction
50521
+  (0.1ms) rollback transaction
50522
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50523
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50524
+  (0.1ms) begin transaction
50525
+  (0.1ms) rollback transaction
50526
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50527
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50528
+  (0.1ms) begin transaction
50529
+  (0.1ms) rollback transaction
50530
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50531
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50532
+  (0.1ms) begin transaction
50533
+  (0.1ms) rollback transaction
50534
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50535
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50536
+  (0.1ms) begin transaction
50537
+  (0.0ms) rollback transaction
50538
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50539
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50540
+  (0.1ms) begin transaction
50541
+  (0.1ms) rollback transaction
50542
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50543
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50544
+  (0.1ms) begin transaction
50545
+  (0.0ms) rollback transaction
50546
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50547
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50548
+  (0.1ms) begin transaction
50549
+  (0.0ms) rollback transaction
50550
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50551
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50552
+  (0.1ms) begin transaction
50553
+  (0.0ms) rollback transaction
50554
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50555
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50556
+  (0.1ms) begin transaction
50557
+  (0.1ms) rollback transaction
50558
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50559
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50560
+  (0.1ms) begin transaction
50561
+  (0.0ms) rollback transaction
50562
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50563
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50564
+  (0.1ms) begin transaction
50565
+  (0.1ms) rollback transaction
50566
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50567
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50568
+  (0.1ms) begin transaction
50569
+  (0.1ms) rollback transaction
50570
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50571
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50572
+  (0.1ms) begin transaction
50573
+  (0.0ms) rollback transaction
50574
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
50575
+ MONGODB (0ms) dummy_test['priceables'].remove({})
50576
+ Connecting to database specified by database.yml
50577
+  (82.3ms) DELETE FROM "dummy_products";
50578
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'dummy_products';
50579
+  (65.7ms) DELETE FROM "products";
50580
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'products';
50581
+  (65.9ms) DELETE FROM "services";
50582
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'services';
50583
+  (76.7ms) DELETE FROM "transactions";
50584
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'transactions';
50585
+  (0.1ms) begin transaction
50586
+  (0.1ms) rollback transaction
50587
+  (0.0ms) begin transaction
50588
+  (0.1ms) rollback transaction
50589
+  (0.1ms) begin transaction
50590
+  (0.1ms) rollback transaction
50591
+  (0.1ms) begin transaction
50592
+  (0.1ms) SAVEPOINT active_record_1
50593
+ SQL (5.8ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:30 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:30 UTC +00:00]]
50594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50595
+  (0.1ms) SAVEPOINT active_record_1
50596
+ SQL (0.6ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:30 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:30 UTC +00:00]]
50597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50598
+  (0.3ms) rollback transaction
50599
+  (0.1ms) begin transaction
50600
+  (0.0ms) SAVEPOINT active_record_1
50601
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50603
+  (0.0ms) SAVEPOINT active_record_1
50604
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50606
+  (0.1ms) rollback transaction
50607
+  (0.0ms) begin transaction
50608
+  (0.0ms) SAVEPOINT active_record_1
50609
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50611
+  (0.0ms) SAVEPOINT active_record_1
50612
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50614
+  (0.0ms) SAVEPOINT active_record_1
50615
+  (0.2ms) UPDATE "products" SET "price_cents" = 3210, "updated_at" = '2012-09-02 07:35:31.017351' WHERE "products"."id" = 1
50616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50617
+  (0.2ms) rollback transaction
50618
+  (0.1ms) begin transaction
50619
+  (0.0ms) SAVEPOINT active_record_1
50620
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50622
+  (0.0ms) SAVEPOINT active_record_1
50623
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50625
+  (0.1ms) rollback transaction
50626
+  (0.0ms) begin transaction
50627
+  (0.0ms) SAVEPOINT active_record_1
50628
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50630
+  (0.0ms) SAVEPOINT active_record_1
50631
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50633
+  (0.0ms) SAVEPOINT active_record_1
50634
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
50635
+  (0.1ms) SAVEPOINT active_record_1
50636
+  (0.2ms) UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-09-02 07:35:31.038042' WHERE "products"."id" = 1
50637
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50638
+  (0.2ms) rollback transaction
50639
+  (0.0ms) begin transaction
50640
+  (0.0ms) SAVEPOINT active_record_1
50641
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50643
+  (0.0ms) SAVEPOINT active_record_1
50644
+ SQL (0.4ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50646
+  (0.0ms) SAVEPOINT active_record_1
50647
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
50648
+  (0.1ms) rollback transaction
50649
+  (0.1ms) begin transaction
50650
+  (0.1ms) SAVEPOINT active_record_1
50651
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50653
+  (0.0ms) SAVEPOINT active_record_1
50654
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50656
+  (0.0ms) SAVEPOINT active_record_1
50657
+  (0.1ms) UPDATE "products" SET "optional_price_cents" = NULL, "updated_at" = '2012-09-02 07:35:31.049911' WHERE "products"."id" = 1
50658
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50659
+  (0.1ms) rollback transaction
50660
+  (0.1ms) begin transaction
50661
+  (0.0ms) SAVEPOINT active_record_1
50662
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50664
+  (0.0ms) SAVEPOINT active_record_1
50665
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50667
+  (0.1ms) rollback transaction
50668
+  (0.0ms) begin transaction
50669
+  (0.0ms) SAVEPOINT active_record_1
50670
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50672
+  (0.0ms) SAVEPOINT active_record_1
50673
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50675
+  (0.1ms) rollback transaction
50676
+  (0.0ms) begin transaction
50677
+  (0.0ms) SAVEPOINT active_record_1
50678
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50680
+  (0.0ms) SAVEPOINT active_record_1
50681
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50682
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50683
+  (0.1ms) rollback transaction
50684
+  (0.0ms) begin transaction
50685
+  (0.0ms) SAVEPOINT active_record_1
50686
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50688
+  (0.0ms) SAVEPOINT active_record_1
50689
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50691
+  (0.0ms) SAVEPOINT active_record_1
50692
+  (0.2ms) UPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-09-02 07:35:31.067200' WHERE "products"."id" = 1
50693
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50694
+  (0.2ms) rollback transaction
50695
+  (0.1ms) begin transaction
50696
+  (0.0ms) SAVEPOINT active_record_1
50697
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50699
+  (0.0ms) SAVEPOINT active_record_1
50700
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50702
+  (0.0ms) SAVEPOINT active_record_1
50703
+  (0.1ms) UPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-09-02 07:35:31.072844' WHERE "products"."id" = 1
50704
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50705
+  (0.0ms) SAVEPOINT active_record_1
50706
+  (0.1ms) UPDATE "services" SET "discount_cents" = 200, "updated_at" = '2012-09-02 07:35:31.074218' WHERE "services"."id" = 1
50707
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50708
+  (0.1ms) rollback transaction
50709
+  (0.0ms) begin transaction
50710
+  (0.0ms) SAVEPOINT active_record_1
50711
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50713
+  (0.0ms) SAVEPOINT active_record_1
50714
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50716
+  (0.0ms) SAVEPOINT active_record_1
50717
+  (0.2ms) UPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-09-02 07:35:31.079647' WHERE "products"."id" = 1
50718
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50719
+  (0.0ms) SAVEPOINT active_record_1
50720
+  (0.1ms) UPDATE "services" SET "discount_cents" = 200, "updated_at" = '2012-09-02 07:35:31.081087' WHERE "services"."id" = 1
50721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50722
+  (0.2ms) rollback transaction
50723
+  (0.1ms) begin transaction
50724
+  (0.0ms) SAVEPOINT active_record_1
50725
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50727
+  (0.0ms) SAVEPOINT active_record_1
50728
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50730
+  (0.0ms) SAVEPOINT active_record_1
50731
+  (0.1ms) UPDATE "products" SET "bonus_cents" = 2500, "updated_at" = '2012-09-02 07:35:31.086519' WHERE "products"."id" = 1
50732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50733
+  (0.0ms) SAVEPOINT active_record_1
50734
+  (0.1ms) UPDATE "services" SET "charge_cents" = 200, "updated_at" = '2012-09-02 07:35:31.087748' WHERE "services"."id" = 1
50735
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50736
+  (0.1ms) rollback transaction
50737
+  (0.1ms) begin transaction
50738
+  (0.0ms) SAVEPOINT active_record_1
50739
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50741
+  (0.0ms) SAVEPOINT active_record_1
50742
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50744
+  (0.0ms) SAVEPOINT active_record_1
50745
+  (0.1ms) UPDATE "products" SET "bonus_cents" = 2500, "updated_at" = '2012-09-02 07:35:31.093217' WHERE "products"."id" = 1
50746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50747
+  (0.0ms) SAVEPOINT active_record_1
50748
+  (0.1ms) UPDATE "services" SET "charge_cents" = 200, "updated_at" = '2012-09-02 07:35:31.094481' WHERE "services"."id" = 1
50749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50750
+  (0.2ms) rollback transaction
50751
+  (0.0ms) begin transaction
50752
+  (0.0ms) SAVEPOINT active_record_1
50753
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50755
+  (0.0ms) SAVEPOINT active_record_1
50756
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50757
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50758
+  (0.0ms) SAVEPOINT active_record_1
50759
+  (0.1ms) UPDATE "products" SET "discount" = 500, "updated_at" = '2012-09-02 07:35:31.099616' WHERE "products"."id" = 1
50760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50761
+  (0.1ms) rollback transaction
50762
+  (0.1ms) begin transaction
50763
+  (0.0ms) SAVEPOINT active_record_1
50764
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50765
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50766
+  (0.0ms) SAVEPOINT active_record_1
50767
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50769
+  (0.0ms) SAVEPOINT active_record_1
50770
+  (0.1ms) UPDATE "products" SET "discount" = 500, "updated_at" = '2012-09-02 07:35:31.105283' WHERE "products"."id" = 1
50771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50772
+  (0.1ms) rollback transaction
50773
+  (0.1ms) begin transaction
50774
+  (0.0ms) SAVEPOINT active_record_1
50775
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50777
+  (0.0ms) SAVEPOINT active_record_1
50778
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50780
+  (0.0ms) SAVEPOINT active_record_1
50781
+  (0.1ms) UPDATE "services" SET "discount_cents" = 500, "updated_at" = '2012-09-02 07:35:31.110683' WHERE "services"."id" = 1
50782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50783
+  (0.1ms) rollback transaction
50784
+  (0.0ms) begin transaction
50785
+  (0.0ms) SAVEPOINT active_record_1
50786
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50788
+  (0.0ms) SAVEPOINT active_record_1
50789
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50791
+  (0.0ms) SAVEPOINT active_record_1
50792
+  (0.1ms) UPDATE "services" SET "discount_cents" = 500, "updated_at" = '2012-09-02 07:35:31.115827' WHERE "services"."id" = 1
50793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50794
+  (0.1ms) rollback transaction
50795
+  (0.0ms) begin transaction
50796
+  (0.0ms) SAVEPOINT active_record_1
50797
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50799
+  (0.0ms) SAVEPOINT active_record_1
50800
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50802
+  (0.0ms) SAVEPOINT active_record_1
50803
+  (0.1ms) UPDATE "products" SET "optional_price_cents" = NULL, "updated_at" = '2012-09-02 07:35:31.120682' WHERE "products"."id" = 1
50804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50805
+  (0.1ms) rollback transaction
50806
+  (0.1ms) begin transaction
50807
+  (0.0ms) SAVEPOINT active_record_1
50808
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50810
+  (0.0ms) SAVEPOINT active_record_1
50811
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50813
+  (0.0ms) SAVEPOINT active_record_1
50814
+ SQL (0.2ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 320], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 350], ["optional_price_cents", nil], ["price_cents", 5320], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50816
+  (0.1ms) rollback transaction
50817
+  (0.0ms) begin transaction
50818
+  (0.0ms) SAVEPOINT active_record_1
50819
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50821
+  (0.0ms) SAVEPOINT active_record_1
50822
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50824
+  (0.0ms) SAVEPOINT active_record_1
50825
+  (0.1ms) UPDATE "products" SET "optional_price_cents" = NULL, "updated_at" = '2012-09-02 07:35:31.130868' WHERE "products"."id" = 1
50826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50827
+  (0.1ms) rollback transaction
50828
+  (0.1ms) begin transaction
50829
+  (0.0ms) SAVEPOINT active_record_1
50830
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50832
+  (0.0ms) SAVEPOINT active_record_1
50833
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50835
+  (0.0ms) SAVEPOINT active_record_1
50836
+ SQL (0.2ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 320], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 350], ["optional_price_cents", nil], ["price_cents", 5320], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50838
+  (0.2ms) rollback transaction
50839
+  (0.0ms) begin transaction
50840
+  (0.0ms) SAVEPOINT active_record_1
50841
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50842
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50843
+  (0.0ms) SAVEPOINT active_record_1
50844
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50846
+  (0.0ms) SAVEPOINT active_record_1
50847
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
50848
+  (0.2ms) rollback transaction
50849
+  (0.1ms) begin transaction
50850
+  (0.0ms) SAVEPOINT active_record_1
50851
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50853
+  (0.0ms) SAVEPOINT active_record_1
50854
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50856
+  (0.0ms) SAVEPOINT active_record_1
50857
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
50858
+  (0.1ms) rollback transaction
50859
+  (0.1ms) begin transaction
50860
+  (0.0ms) SAVEPOINT active_record_1
50861
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50863
+  (0.0ms) SAVEPOINT active_record_1
50864
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50865
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50866
+  (0.1ms) SAVEPOINT active_record_1
50867
+ SQL (0.3ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50869
+  (0.1ms) SAVEPOINT active_record_1
50870
+ SQL (0.4ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50872
+  (0.0ms) SAVEPOINT active_record_1
50873
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50875
+  (0.0ms) SAVEPOINT active_record_1
50876
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", "EUR"], ["price_cents", 10], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50878
+ DummyProduct Load (0.2ms) SELECT "dummy_products".* FROM "dummy_products" WHERE "dummy_products"."id" = ? LIMIT 1 [["id", 3]]
50879
+  (0.2ms) rollback transaction
50880
+  (0.0ms) begin transaction
50881
+  (0.0ms) SAVEPOINT active_record_1
50882
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50884
+  (0.0ms) SAVEPOINT active_record_1
50885
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50886
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50887
+  (0.0ms) SAVEPOINT active_record_1
50888
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50890
+  (0.0ms) SAVEPOINT active_record_1
50891
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50893
+  (0.0ms) SAVEPOINT active_record_1
50894
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50895
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50896
+  (0.2ms) rollback transaction
50897
+  (0.0ms) begin transaction
50898
+  (0.0ms) SAVEPOINT active_record_1
50899
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50901
+  (0.0ms) SAVEPOINT active_record_1
50902
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50904
+  (0.0ms) SAVEPOINT active_record_1
50905
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50907
+  (0.0ms) SAVEPOINT active_record_1
50908
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50910
+  (0.0ms) SAVEPOINT active_record_1
50911
+ SQL (0.1ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50912
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50913
+  (0.2ms) rollback transaction
50914
+  (0.1ms) begin transaction
50915
+  (0.0ms) SAVEPOINT active_record_1
50916
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50917
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50918
+  (0.0ms) SAVEPOINT active_record_1
50919
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50921
+  (0.0ms) SAVEPOINT active_record_1
50922
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50924
+  (0.0ms) SAVEPOINT active_record_1
50925
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50927
+  (0.0ms) SAVEPOINT active_record_1
50928
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50930
+  (0.1ms) rollback transaction
50931
+  (0.0ms) begin transaction
50932
+  (0.0ms) SAVEPOINT active_record_1
50933
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50935
+  (0.0ms) SAVEPOINT active_record_1
50936
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50938
+  (0.0ms) SAVEPOINT active_record_1
50939
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50940
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50941
+  (0.0ms) SAVEPOINT active_record_1
50942
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50944
+  (0.0ms) SAVEPOINT active_record_1
50945
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50947
+  (0.2ms) rollback transaction
50948
+  (0.1ms) begin transaction
50949
+  (0.0ms) SAVEPOINT active_record_1
50950
+ SQL (0.4ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50952
+  (0.0ms) SAVEPOINT active_record_1
50953
+ SQL (0.3ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50954
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50955
+  (0.0ms) SAVEPOINT active_record_1
50956
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50957
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50958
+  (0.0ms) SAVEPOINT active_record_1
50959
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50961
+  (0.0ms) SAVEPOINT active_record_1
50962
+ SQL (0.1ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50964
+  (0.2ms) rollback transaction
50965
+  (0.1ms) begin transaction
50966
+  (0.0ms) SAVEPOINT active_record_1
50967
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50969
+  (0.0ms) SAVEPOINT active_record_1
50970
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50971
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50972
+  (0.0ms) SAVEPOINT active_record_1
50973
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50975
+  (0.1ms) SAVEPOINT active_record_1
50976
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50978
+  (0.0ms) SAVEPOINT active_record_1
50979
+ SQL (0.1ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50981
+  (0.0ms) SAVEPOINT active_record_1
50982
+  (0.1ms) UPDATE "transactions" SET "amount_cents" = 2500, "currency" = 'EUR', "updated_at" = '2012-09-02 07:35:31.265715' WHERE "transactions"."id" = 1
50983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50984
+  (0.2ms) rollback transaction
50985
+  (0.0ms) begin transaction
50986
+  (0.0ms) SAVEPOINT active_record_1
50987
+ SQL (0.3ms) INSERT INTO "products" ("bonus_cents", "created_at", "discount", "optional_price_cents", "price_cents", "sale_price_amount", "sale_price_currency_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount", 150], ["optional_price_cents", 10000], ["price_cents", 3000], ["sale_price_amount", 0], ["sale_price_currency_code", nil], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50989
+  (0.0ms) SAVEPOINT active_record_1
50990
+ SQL (0.2ms) INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["discount_cents", 120], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50992
+  (0.0ms) SAVEPOINT active_record_1
50993
+ SQL (0.2ms) INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50995
+  (0.0ms) SAVEPOINT active_record_1
50996
+ SQL (0.2ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
50997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50998
+  (0.0ms) SAVEPOINT active_record_1
50999
+ SQL (0.1ms) INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Sun, 02 Sep 2012 07:35:31 UTC +00:00]]
51000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51001
+  (0.2ms) rollback transaction
51002
+  (0.0ms) begin transaction
51003
+  (0.0ms) rollback transaction
51004
+  (0.1ms) begin transaction
51005
+  (0.2ms) rollback transaction
51006
+  (0.1ms) begin transaction
51007
+  (0.0ms) rollback transaction
51008
+  (0.1ms) begin transaction
51009
+  (0.0ms) rollback transaction
51010
+  (0.0ms) begin transaction
51011
+  (0.1ms) rollback transaction
51012
+  (0.0ms) begin transaction
51013
+  (0.1ms) rollback transaction
51014
+  (0.1ms) begin transaction
51015
+  (0.1ms) rollback transaction
51016
+  (0.1ms) begin transaction
51017
+  (0.1ms) rollback transaction
51018
+  (0.0ms) begin transaction
51019
+  (0.0ms) rollback transaction
51020
+  (0.1ms) begin transaction
51021
+  (0.0ms) rollback transaction
51022
+  (0.1ms) begin transaction
51023
+  (0.0ms) rollback transaction
51024
+  (0.1ms) begin transaction
51025
+  (0.0ms) rollback transaction
51026
+  (0.1ms) begin transaction
51027
+  (0.0ms) rollback transaction
51028
+  (0.0ms) begin transaction
51029
+  (0.0ms) rollback transaction
51030
+  (0.1ms) begin transaction
51031
+  (0.0ms) rollback transaction