economy 4.0.0.0 → 4.0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abfda4805b987b0209c210090c47546f9516ac62
4
- data.tar.gz: ebf38ddd7fa00e8bd6ef642fa05dedd65509b2f2
3
+ metadata.gz: 524bedb98a4e39e7b468b4af41a3b84a5d9b8c29
4
+ data.tar.gz: 01ccba308a34e2b344c27bb09e6a641d90f56662
5
5
  SHA512:
6
- metadata.gz: 69541c4bc20b5d70a424783b1dedca6de07cc6bd9a5cd6f695d5f79214d4fc2cc5eeda9ddaa0090166854848a62d509b84b704a5d45f0c83ae4a000d8bd66d8b
7
- data.tar.gz: e04787510e5df9885afd1638cbe273fde30679c90dde3089849fcf7dc9b6ac70935b45df2334461aac83efe654bb621e1e8f1d6111fa2e83c863aedb04053828
6
+ metadata.gz: 27ecd251df2e6449dabdb93271351f6d51cb89617cc935d17dfa650cd2d9272f2e86ccde29872a740255ec9786855fd130e08bd904fff5632ce3b1515a578971
7
+ data.tar.gz: 17b9e7f53bc1bffc3186e69e0c0311beac872c80efc480a6f872c11d1d46cae40b1adaa98b65902cabd49a714c075e5bf0ad1878a2e7dad8a1cf18eb9fd8566c
data/README.md CHANGED
@@ -45,16 +45,17 @@ Set the global settings:
45
45
  ```ruby
46
46
  Economy.configure do |config|
47
47
 
48
+ config.redis = Redis.new(url: 'redis://localhost:6379/0')
48
49
  config.rates = :yahoo
49
50
  config.default_currency = 'USD'
50
51
 
51
- config.register_currency(
52
+ config.add_currency(
52
53
  iso_code: 'USD',
53
54
  iso_number: 840,
54
55
  symbol: 'U$S',
55
56
  decimals: 2
56
57
  )
57
- config.register_currency(
58
+ config.add_currency(
58
59
  iso_code: 'UYU',
59
60
  iso_number: 858,
60
61
  symbol: '$U',
@@ -64,13 +65,6 @@ Economy.configure do |config|
64
65
  end
65
66
  ```
66
67
 
67
- Add a redis_url to your environment configuration:
68
- ```ruby
69
- Rails.application.configure do
70
- config.redis_url = 'redis://localhost:6379/0'
71
- end
72
- ```
73
-
74
68
  ## Usage
75
69
 
76
70
  ### Definitions
@@ -2,24 +2,21 @@ module Economy
2
2
  class Cache
3
3
 
4
4
  def get(from, to)
5
- client.get "exchanges/#{from.iso_code.downcase}/#{to.iso_code.downcase}"
5
+ redis.get "exchanges/#{from.iso_code.downcase}/#{to.iso_code.downcase}"
6
6
  end
7
7
 
8
8
  def set(exchange)
9
- client.set "exchanges/#{exchange.from.downcase}/#{exchange.to.downcase}", exchange.rate.to_s
9
+ redis.set "exchanges/#{exchange.from.downcase}/#{exchange.to.downcase}", exchange.rate.to_s
10
10
  end
11
11
 
12
12
  def clear
13
- client.del 'exchanges/*'
13
+ redis.del 'exchanges/*'
14
14
  end
15
15
 
16
16
  private
17
17
 
18
- def client
19
- @client ||= begin
20
- require 'redis'
21
- Redis.new url: Rails.configuration.redis_url
22
- end
18
+ def redis
19
+ Economy.configuration.redis
23
20
  end
24
21
 
25
22
  end
@@ -1,9 +1,9 @@
1
1
  module Economy
2
2
  class Configuration
3
3
 
4
- attr_accessor :rates, :default_currency
4
+ attr_accessor :redis, :rates, :default_currency
5
5
 
6
- def register_currency(*args)
6
+ def add_currency(*args)
7
7
  Economy.currencies.add *args
8
8
  end
9
9
 
@@ -1,5 +1,5 @@
1
1
  module Economy
2
2
 
3
- VERSION = '4.0.0.0'
3
+ VERSION = '4.0.1.0'
4
4
 
5
5
  end
@@ -3,7 +3,7 @@ Economy.configure do |config|
3
3
  config.rates = :yahoo
4
4
  config.default_currency = 'USD'
5
5
 
6
- config.register_currency(
6
+ config.add_currency(
7
7
  iso_code: 'USD',
8
8
  iso_number: 840,
9
9
  symbol: 'U$S',
@@ -4,6 +4,7 @@ require 'rails/all'
4
4
 
5
5
  Bundler.require(*Rails.groups)
6
6
  require 'economy'
7
+ require 'redis'
7
8
 
8
9
  module Dummy
9
10
  class Application < Rails::Application
@@ -39,7 +39,4 @@ Rails.application.configure do
39
39
 
40
40
  # Raises error for missing translations
41
41
  # config.action_view.raise_on_missing_translations = true
42
-
43
- # Redis url.
44
- config.redis_url = 'redis://localhost:6379/0'
45
42
  end
@@ -1,15 +1,16 @@
1
1
  Economy.configure do |config|
2
2
 
3
+ config.redis = Redis.new(url: 'redis://localhost:6379/0')
3
4
  config.rates = :yahoo
4
5
  config.default_currency = 'USD'
5
6
 
6
- config.register_currency(
7
+ config.add_currency(
7
8
  iso_code: 'USD',
8
9
  iso_number: 840,
9
10
  symbol: 'U$S',
10
11
  decimals: 2
11
12
  )
12
- config.register_currency(
13
+ config.add_currency(
13
14
  iso_code: 'UYU',
14
15
  iso_number: 858,
15
16
  symbol: '$U',
@@ -0,0 +1,45 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20161115150024) do
15
+
16
+ # These are extensions that must be enabled in order to support this database
17
+ enable_extension "plpgsql"
18
+
19
+ create_table "exchanges", force: :cascade do |t|
20
+ t.string "service", limit: 30
21
+ t.string "from", limit: 3
22
+ t.string "to", limit: 3
23
+ t.decimal "rate", precision: 24, scale: 12
24
+ t.datetime "created_at", null: false
25
+ t.datetime "updated_at", null: false
26
+ end
27
+
28
+ add_index "exchanges", ["from", "to"], name: "index_exchanges_on_from_and_to", using: :btree
29
+
30
+ create_table "plans", force: :cascade do |t|
31
+ t.decimal "monthly_price", precision: 24, scale: 6
32
+ t.decimal "annually_price", precision: 24, scale: 6
33
+ t.string "currency", limit: 3
34
+ t.datetime "created_at", null: false
35
+ t.datetime "updated_at", null: false
36
+ end
37
+
38
+ create_table "products", force: :cascade do |t|
39
+ t.decimal "price", precision: 24, scale: 6
40
+ t.string "price_currency", limit: 3
41
+ t.datetime "created_at", null: false
42
+ t.datetime "updated_at", null: false
43
+ end
44
+
45
+ end
@@ -0,0 +1,56 @@
1
+  (19.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateExchanges (20161115135521)
5
+  (0.2ms) BEGIN
6
+  (14.1ms) CREATE TABLE "exchanges" ("id" serial primary key, "service" character varying(30), "from" character varying(3), "to" character varying(3), "rate" decimal(24,12), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
7
+  (6.7ms) CREATE INDEX "index_exchanges_on_from_and_to" ON "exchanges" ("from", "to")
8
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115135521"]]
9
+  (11.5ms) COMMIT
10
+ Migrating to CreateProducts (20161115145905)
11
+  (6.0ms) BEGIN
12
+  (8.1ms) CREATE TABLE "products" ("id" serial primary key, "price" decimal(24,6), "price_currency" character varying(3), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115145905"]]
14
+  (11.1ms) COMMIT
15
+ Migrating to CreatePlans (20161115150024)
16
+  (6.1ms) BEGIN
17
+  (7.1ms) CREATE TABLE "plans" ("id" serial primary key, "monthly_price" decimal(24,6), "annually_price" decimal(24,6), "currency" character varying(3), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
18
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115150024"]]
19
+  (11.3ms) COMMIT
20
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
21
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
22
+ FROM pg_constraint c
23
+ JOIN pg_class t1 ON c.conrelid = t1.oid
24
+ JOIN pg_class t2 ON c.confrelid = t2.oid
25
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
26
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
27
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
28
+ WHERE c.contype = 'f'
29
+ AND t1.relname = 'exchanges'
30
+ AND t3.nspname = ANY (current_schemas(false))
31
+ ORDER BY c.conname
32
+
33
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
34
+ FROM pg_constraint c
35
+ JOIN pg_class t1 ON c.conrelid = t1.oid
36
+ JOIN pg_class t2 ON c.confrelid = t2.oid
37
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
38
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
39
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
40
+ WHERE c.contype = 'f'
41
+ AND t1.relname = 'plans'
42
+ AND t3.nspname = ANY (current_schemas(false))
43
+ ORDER BY c.conname
44
+ 
45
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
46
+ FROM pg_constraint c
47
+ JOIN pg_class t1 ON c.conrelid = t1.oid
48
+ JOIN pg_class t2 ON c.confrelid = t2.oid
49
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52
+ WHERE c.contype = 'f'
53
+ AND t1.relname = 'products'
54
+ AND t3.nspname = ANY (current_schemas(false))
55
+ ORDER BY c.conname
56
+
@@ -0,0 +1,1865 @@
1
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateExchanges (20161115135521)
5
+  (0.2ms) BEGIN
6
+  (2.3ms) CREATE TABLE "exchanges" ("id" serial primary key, "service" character varying(30), "from" character varying(3), "to" character varying(3), "rate" decimal(24,12), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
7
+  (0.7ms) CREATE INDEX "index_exchanges_on_from_and_to" ON "exchanges" ("from", "to")
8
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115135521"]]
9
+  (0.5ms) COMMIT
10
+ Migrating to CreateProducts (20161115145905)
11
+  (0.2ms) BEGIN
12
+  (1.8ms) CREATE TABLE "products" ("id" serial primary key, "price" decimal(24,6), "price_currency" character varying(3), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115145905"]]
14
+  (0.4ms) COMMIT
15
+ Migrating to CreatePlans (20161115150024)
16
+  (0.2ms) BEGIN
17
+  (1.5ms) CREATE TABLE "plans" ("id" serial primary key, "monthly_price" decimal(24,6), "annually_price" decimal(24,6), "currency" character varying(3), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
18
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115150024"]]
19
+  (0.5ms) COMMIT
20
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
21
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
22
+ FROM pg_constraint c
23
+ JOIN pg_class t1 ON c.conrelid = t1.oid
24
+ JOIN pg_class t2 ON c.confrelid = t2.oid
25
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
26
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
27
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
28
+ WHERE c.contype = 'f'
29
+ AND t1.relname = 'exchanges'
30
+ AND t3.nspname = ANY (current_schemas(false))
31
+ ORDER BY c.conname
32
+
33
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
34
+ FROM pg_constraint c
35
+ JOIN pg_class t1 ON c.conrelid = t1.oid
36
+ JOIN pg_class t2 ON c.confrelid = t2.oid
37
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
38
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
39
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
40
+ WHERE c.contype = 'f'
41
+ AND t1.relname = 'plans'
42
+ AND t3.nspname = ANY (current_schemas(false))
43
+ ORDER BY c.conname
44
+ 
45
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
46
+ FROM pg_constraint c
47
+ JOIN pg_class t1 ON c.conrelid = t1.oid
48
+ JOIN pg_class t2 ON c.confrelid = t2.oid
49
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52
+ WHERE c.contype = 'f'
53
+ AND t1.relname = 'products'
54
+ AND t3.nspname = ANY (current_schemas(false))
55
+ ORDER BY c.conname
56
+
57
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
58
+  (0.2ms) BEGIN
59
+ ---------------------------------
60
+ MoneyTest: test_abs_and_magnitude
61
+ ---------------------------------
62
+  (0.2ms) SAVEPOINT active_record_1
63
+ SQL (9.4ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:00.975695"], ["updated_at", "2016-12-07 19:53:00.975695"]]
64
+  (0.1ms) RELEASE SAVEPOINT active_record_1
65
+  (0.2ms) SAVEPOINT active_record_1
66
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:00.996924"], ["updated_at", "2016-12-07 19:53:00.996924"]]
67
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68
+  (0.2ms) ROLLBACK
69
+  (0.2ms) BEGIN
70
+ -------------------
71
+ MoneyTest: test_<=>
72
+ -------------------
73
+  (0.1ms) SAVEPOINT active_record_1
74
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.000777"], ["updated_at", "2016-12-07 19:53:01.000777"]]
75
+  (0.1ms) RELEASE SAVEPOINT active_record_1
76
+  (0.1ms) SAVEPOINT active_record_1
77
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.002558"], ["updated_at", "2016-12-07 19:53:01.002558"]]
78
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79
+  (0.1ms) ROLLBACK
80
+  (0.1ms) BEGIN
81
+ ----------------------
82
+ MoneyTest: test_divmod
83
+ ----------------------
84
+  (0.1ms) SAVEPOINT active_record_1
85
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.005272"], ["updated_at", "2016-12-07 19:53:01.005272"]]
86
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87
+  (0.1ms) SAVEPOINT active_record_1
88
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.006735"], ["updated_at", "2016-12-07 19:53:01.006735"]]
89
+  (0.1ms) RELEASE SAVEPOINT active_record_1
90
+  (0.2ms) ROLLBACK
91
+  (0.1ms) BEGIN
92
+ -------------------------
93
+ MoneyTest: test_/_and_div
94
+ -------------------------
95
+  (0.1ms) SAVEPOINT active_record_1
96
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.009367"], ["updated_at", "2016-12-07 19:53:01.009367"]]
97
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98
+  (0.1ms) SAVEPOINT active_record_1
99
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.010760"], ["updated_at", "2016-12-07 19:53:01.010760"]]
100
+  (0.2ms) RELEASE SAVEPOINT active_record_1
101
+  (0.1ms) ROLLBACK
102
+  (0.1ms) BEGIN
103
+ -------------------------
104
+ MoneyTest: test_positive?
105
+ -------------------------
106
+  (0.1ms) SAVEPOINT active_record_1
107
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.013194"], ["updated_at", "2016-12-07 19:53:01.013194"]]
108
+  (0.1ms) RELEASE SAVEPOINT active_record_1
109
+  (0.1ms) SAVEPOINT active_record_1
110
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.014690"], ["updated_at", "2016-12-07 19:53:01.014690"]]
111
+  (0.1ms) RELEASE SAVEPOINT active_record_1
112
+  (0.1ms) ROLLBACK
113
+  (0.1ms) BEGIN
114
+ ---------------------------
115
+ MoneyTest: test_exchange_to
116
+ ---------------------------
117
+  (0.1ms) SAVEPOINT active_record_1
118
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.017069"], ["updated_at", "2016-12-07 19:53:01.017069"]]
119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
120
+  (0.1ms) SAVEPOINT active_record_1
121
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.018433"], ["updated_at", "2016-12-07 19:53:01.018433"]]
122
+  (0.1ms) RELEASE SAVEPOINT active_record_1
123
+  (0.1ms) ROLLBACK
124
+  (0.1ms) BEGIN
125
+ ----------------------
126
+ MoneyTest: test_coerce
127
+ ----------------------
128
+  (0.1ms) SAVEPOINT active_record_1
129
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.020649"], ["updated_at", "2016-12-07 19:53:01.020649"]]
130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
131
+  (0.1ms) SAVEPOINT active_record_1
132
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.022006"], ["updated_at", "2016-12-07 19:53:01.022006"]]
133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
134
+  (0.1ms) ROLLBACK
135
+  (0.1ms) BEGIN
136
+ -------------------------
137
+ MoneyTest: test_negative?
138
+ -------------------------
139
+  (0.1ms) SAVEPOINT active_record_1
140
+ SQL (0.4ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.025236"], ["updated_at", "2016-12-07 19:53:01.025236"]]
141
+  (0.1ms) RELEASE SAVEPOINT active_record_1
142
+  (0.1ms) SAVEPOINT active_record_1
143
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.027432"], ["updated_at", "2016-12-07 19:53:01.027432"]]
144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145
+  (0.2ms) ROLLBACK
146
+  (0.1ms) BEGIN
147
+ --------------------
148
+ MoneyTest: test_to_s
149
+ --------------------
150
+  (0.1ms) SAVEPOINT active_record_1
151
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.030172"], ["updated_at", "2016-12-07 19:53:01.030172"]]
152
+  (0.1ms) RELEASE SAVEPOINT active_record_1
153
+  (0.1ms) SAVEPOINT active_record_1
154
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.031648"], ["updated_at", "2016-12-07 19:53:01.031648"]]
155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156
+  (0.2ms) ROLLBACK
157
+  (0.1ms) BEGIN
158
+ -----------------------------------
159
+ MoneyTest: test_to_json_and_as_json
160
+ -----------------------------------
161
+  (0.1ms) SAVEPOINT active_record_1
162
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.042811"], ["updated_at", "2016-12-07 19:53:01.042811"]]
163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
164
+  (0.1ms) SAVEPOINT active_record_1
165
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.044453"], ["updated_at", "2016-12-07 19:53:01.044453"]]
166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
167
+  (0.1ms) ROLLBACK
168
+  (0.1ms) BEGIN
169
+ ---------------------
170
+ MoneyTest: test_zero?
171
+ ---------------------
172
+  (0.1ms) SAVEPOINT active_record_1
173
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.046779"], ["updated_at", "2016-12-07 19:53:01.046779"]]
174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
175
+  (0.1ms) SAVEPOINT active_record_1
176
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.048124"], ["updated_at", "2016-12-07 19:53:01.048124"]]
177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
178
+  (0.1ms) ROLLBACK
179
+  (0.1ms) BEGIN
180
+ -----------------
181
+ MoneyTest: test_+
182
+ -----------------
183
+  (0.1ms) SAVEPOINT active_record_1
184
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.050574"], ["updated_at", "2016-12-07 19:53:01.050574"]]
185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
186
+  (0.1ms) SAVEPOINT active_record_1
187
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.052078"], ["updated_at", "2016-12-07 19:53:01.052078"]]
188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
189
+  (0.1ms) ROLLBACK
190
+  (0.2ms) BEGIN
191
+ -----------------
192
+ MoneyTest: test_<
193
+ -----------------
194
+  (0.1ms) SAVEPOINT active_record_1
195
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.054765"], ["updated_at", "2016-12-07 19:53:01.054765"]]
196
+  (0.1ms) RELEASE SAVEPOINT active_record_1
197
+  (0.1ms) SAVEPOINT active_record_1
198
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.056207"], ["updated_at", "2016-12-07 19:53:01.056207"]]
199
+  (0.1ms) RELEASE SAVEPOINT active_record_1
200
+  (0.1ms) ROLLBACK
201
+  (0.1ms) BEGIN
202
+ -------------------------
203
+ MoneyTest: test_remainder
204
+ -------------------------
205
+  (0.2ms) SAVEPOINT active_record_1
206
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.071530"], ["updated_at", "2016-12-07 19:53:01.071530"]]
207
+  (0.2ms) RELEASE SAVEPOINT active_record_1
208
+  (0.1ms) SAVEPOINT active_record_1
209
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.073323"], ["updated_at", "2016-12-07 19:53:01.073323"]]
210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
211
+  (0.1ms) ROLLBACK
212
+  (0.1ms) BEGIN
213
+ -------------------
214
+ MoneyTest: test_===
215
+ -------------------
216
+  (0.1ms) SAVEPOINT active_record_1
217
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.076120"], ["updated_at", "2016-12-07 19:53:01.076120"]]
218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
219
+  (0.1ms) SAVEPOINT active_record_1
220
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.077778"], ["updated_at", "2016-12-07 19:53:01.077778"]]
221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
222
+  (0.1ms) ROLLBACK
223
+  (0.2ms) BEGIN
224
+ ------------------
225
+ MoneyTest: test_-@
226
+ ------------------
227
+  (0.1ms) SAVEPOINT active_record_1
228
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.080439"], ["updated_at", "2016-12-07 19:53:01.080439"]]
229
+  (0.2ms) RELEASE SAVEPOINT active_record_1
230
+  (0.1ms) SAVEPOINT active_record_1
231
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.081815"], ["updated_at", "2016-12-07 19:53:01.081815"]]
232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
233
+  (0.1ms) ROLLBACK
234
+  (0.1ms) BEGIN
235
+ -----------------
236
+ MoneyTest: test_-
237
+ -----------------
238
+  (0.1ms) SAVEPOINT active_record_1
239
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.088567"], ["updated_at", "2016-12-07 19:53:01.088567"]]
240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
241
+  (0.1ms) SAVEPOINT active_record_1
242
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.090021"], ["updated_at", "2016-12-07 19:53:01.090021"]]
243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
244
+  (0.1ms) ROLLBACK
245
+  (0.1ms) BEGIN
246
+ ----------------------------
247
+ MoneyTest: test_%_and_modulo
248
+ ----------------------------
249
+  (0.1ms) SAVEPOINT active_record_1
250
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.092618"], ["updated_at", "2016-12-07 19:53:01.092618"]]
251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
252
+  (0.1ms) SAVEPOINT active_record_1
253
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.094075"], ["updated_at", "2016-12-07 19:53:01.094075"]]
254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
255
+  (0.1ms) ROLLBACK
256
+  (0.1ms) BEGIN
257
+ ------------------------
258
+ MoneyTest: test_nonzero?
259
+ ------------------------
260
+  (0.1ms) SAVEPOINT active_record_1
261
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.096628"], ["updated_at", "2016-12-07 19:53:01.096628"]]
262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
263
+  (0.1ms) SAVEPOINT active_record_1
264
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.098013"], ["updated_at", "2016-12-07 19:53:01.098013"]]
265
+  (0.1ms) RELEASE SAVEPOINT active_record_1
266
+  (0.1ms) ROLLBACK
267
+  (0.1ms) BEGIN
268
+ -----------------
269
+ MoneyTest: test_*
270
+ -----------------
271
+  (0.1ms) SAVEPOINT active_record_1
272
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.100105"], ["updated_at", "2016-12-07 19:53:01.100105"]]
273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
274
+  (0.1ms) SAVEPOINT active_record_1
275
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.101674"], ["updated_at", "2016-12-07 19:53:01.101674"]]
276
+  (0.1ms) RELEASE SAVEPOINT active_record_1
277
+  (0.1ms) ROLLBACK
278
+  (0.1ms) BEGIN
279
+ ---------------------------
280
+ TaskTest: test_update_rates
281
+ ---------------------------
282
+  (0.2ms) SAVEPOINT active_record_1
283
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "29.32"], ["created_at", "2016-12-07 19:53:01.124023"], ["updated_at", "2016-12-07 19:53:01.124023"]]
284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
285
+  (0.1ms) SAVEPOINT active_record_1
286
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.0341"], ["created_at", "2016-12-07 19:53:01.125776"], ["updated_at", "2016-12-07 19:53:01.125776"]]
287
+  (0.2ms) RELEASE SAVEPOINT active_record_1
288
+  (0.3ms) SELECT COUNT(*) FROM "exchanges"
289
+ Economy::Exchange Exists (5.5ms) SELECT 1 AS one FROM "exchanges" WHERE "exchanges"."service" = $1 AND "exchanges"."from" = $2 AND "exchanges"."to" = $3 AND "exchanges"."rate" = $4 LIMIT 1 [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", 29.32]]
290
+ Economy::Exchange Exists (0.2ms) SELECT 1 AS one FROM "exchanges" WHERE "exchanges"."service" = $1 AND "exchanges"."from" = $2 AND "exchanges"."to" = $3 AND "exchanges"."rate" = $4 LIMIT 1 [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", 0.0341]]
291
+  (0.1ms) ROLLBACK
292
+  (0.1ms) BEGIN
293
+ ---------------------------
294
+ GeneratorTest: test_install
295
+ ---------------------------
296
+  (0.3ms) ROLLBACK
297
+  (0.1ms) BEGIN
298
+ ---------------------------------
299
+ RecordTest: test_default_currency
300
+ ---------------------------------
301
+  (0.2ms) SAVEPOINT active_record_1
302
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.169707"], ["updated_at", "2016-12-07 19:53:01.169707"]]
303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
304
+  (0.2ms) SAVEPOINT active_record_1
305
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.177901"], ["updated_at", "2016-12-07 19:53:01.177901"]]
306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
307
+  (0.2ms) ROLLBACK
308
+  (0.1ms) BEGIN
309
+ ---------------------------
310
+ RecordTest: test_persistent
311
+ ---------------------------
312
+  (0.1ms) SAVEPOINT active_record_1
313
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.185986"], ["updated_at", "2016-12-07 19:53:01.185986"]]
314
+  (0.2ms) RELEASE SAVEPOINT active_record_1
315
+  (0.1ms) SAVEPOINT active_record_1
316
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.187676"], ["updated_at", "2016-12-07 19:53:01.187676"]]
317
+  (0.2ms) RELEASE SAVEPOINT active_record_1
318
+  (0.1ms) SAVEPOINT active_record_1
319
+ SQL (6.5ms) INSERT INTO "plans" ("monthly_price", "annually_price", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["monthly_price", "20.0"], ["annually_price", "200.0"], ["currency", "UYU"], ["created_at", "2016-12-07 19:53:01.193824"], ["updated_at", "2016-12-07 19:53:01.193824"]]
320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
321
+  (0.1ms) SAVEPOINT active_record_1
322
+ SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-12-07 19:53:01.202291"], ["id", 1]]
323
+  (0.1ms) RELEASE SAVEPOINT active_record_1
324
+  (0.2ms) SAVEPOINT active_record_1
325
+ SQL (6.8ms) INSERT INTO "products" ("price", "price_currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["price", "15.0"], ["price_currency", "UYU"], ["created_at", "2016-12-07 19:53:01.204659"], ["updated_at", "2016-12-07 19:53:01.204659"]]
326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
327
+  (0.1ms) SAVEPOINT active_record_1
328
+ SQL (0.2ms) UPDATE "products" SET "price" = $1, "price_currency" = $2, "updated_at" = $3 WHERE "products"."id" = $4 [["price", "5.0"], ["price_currency", "USD"], ["updated_at", "2016-12-07 19:53:01.213020"], ["id", 1]]
329
+  (0.1ms) RELEASE SAVEPOINT active_record_1
330
+  (0.1ms) ROLLBACK
331
+  (0.1ms) BEGIN
332
+ ---------------------------
333
+ RecordTest: test_validators
334
+ ---------------------------
335
+  (0.1ms) SAVEPOINT active_record_1
336
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.215791"], ["updated_at", "2016-12-07 19:53:01.215791"]]
337
+  (0.2ms) RELEASE SAVEPOINT active_record_1
338
+  (0.1ms) SAVEPOINT active_record_1
339
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.217396"], ["updated_at", "2016-12-07 19:53:01.217396"]]
340
+  (0.1ms) RELEASE SAVEPOINT active_record_1
341
+  (0.1ms) ROLLBACK
342
+  (0.2ms) BEGIN
343
+ ------------------------
344
+ RecordTest: test_helpers
345
+ ------------------------
346
+  (0.1ms) SAVEPOINT active_record_1
347
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 19:53:01.221201"], ["updated_at", "2016-12-07 19:53:01.221201"]]
348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349
+  (0.1ms) SAVEPOINT active_record_1
350
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 19:53:01.222680"], ["updated_at", "2016-12-07 19:53:01.222680"]]
351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352
+  (0.1ms) ROLLBACK
353
+  (0.1ms) BEGIN
354
+ ----------------------
355
+ RateTest: test_retries
356
+ ----------------------
357
+  (0.2ms) ROLLBACK
358
+  (0.2ms) BEGIN
359
+ --------------------
360
+ RateTest: test_yahoo
361
+ --------------------
362
+  (0.1ms) ROLLBACK
363
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
364
+  (0.2ms) BEGIN
365
+ ---------------------------
366
+ TaskTest: test_update_rates
367
+ ---------------------------
368
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
369
+  (0.2ms) BEGIN
370
+ ---------------------------
371
+ GeneratorTest: test_install
372
+ ---------------------------
373
+  (0.2ms) ROLLBACK
374
+  (0.2ms) BEGIN
375
+ ---------------------------
376
+ TaskTest: test_update_rates
377
+ ---------------------------
378
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
379
+  (0.2ms) BEGIN
380
+ -------------------------
381
+ MoneyTest: test_/_and_div
382
+ -------------------------
383
+  (0.3ms) SAVEPOINT active_record_1
384
+ SQL (0.4ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:52.973017"], ["updated_at", "2016-12-07 20:04:52.973017"]]
385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
386
+  (0.1ms) SAVEPOINT active_record_1
387
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:52.977670"], ["updated_at", "2016-12-07 20:04:52.977670"]]
388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
389
+  (0.2ms) ROLLBACK
390
+  (0.2ms) BEGIN
391
+ ---------------------------------
392
+ MoneyTest: test_abs_and_magnitude
393
+ ---------------------------------
394
+  (0.1ms) SAVEPOINT active_record_1
395
+ SQL (0.4ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:52.980376"], ["updated_at", "2016-12-07 20:04:52.980376"]]
396
+  (0.2ms) RELEASE SAVEPOINT active_record_1
397
+  (0.2ms) SAVEPOINT active_record_1
398
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:52.982695"], ["updated_at", "2016-12-07 20:04:52.982695"]]
399
+  (0.2ms) RELEASE SAVEPOINT active_record_1
400
+  (0.1ms) ROLLBACK
401
+  (0.1ms) BEGIN
402
+ -----------------
403
+ MoneyTest: test_+
404
+ -----------------
405
+  (0.2ms) SAVEPOINT active_record_1
406
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:52.985586"], ["updated_at", "2016-12-07 20:04:52.985586"]]
407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
408
+  (0.1ms) SAVEPOINT active_record_1
409
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:52.987101"], ["updated_at", "2016-12-07 20:04:52.987101"]]
410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
411
+  (0.1ms) ROLLBACK
412
+  (0.1ms) BEGIN
413
+ ----------------------
414
+ MoneyTest: test_divmod
415
+ ----------------------
416
+  (0.2ms) SAVEPOINT active_record_1
417
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:52.989663"], ["updated_at", "2016-12-07 20:04:52.989663"]]
418
+  (0.2ms) RELEASE SAVEPOINT active_record_1
419
+  (0.1ms) SAVEPOINT active_record_1
420
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:52.991935"], ["updated_at", "2016-12-07 20:04:52.991935"]]
421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
422
+  (0.1ms) ROLLBACK
423
+  (0.1ms) BEGIN
424
+ -------------------------
425
+ MoneyTest: test_negative?
426
+ -------------------------
427
+  (0.1ms) SAVEPOINT active_record_1
428
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:52.994892"], ["updated_at", "2016-12-07 20:04:52.994892"]]
429
+  (0.1ms) RELEASE SAVEPOINT active_record_1
430
+  (0.1ms) SAVEPOINT active_record_1
431
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:52.996439"], ["updated_at", "2016-12-07 20:04:52.996439"]]
432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
433
+  (0.1ms) ROLLBACK
434
+  (0.2ms) BEGIN
435
+ -------------------------
436
+ MoneyTest: test_remainder
437
+ -------------------------
438
+  (0.1ms) SAVEPOINT active_record_1
439
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.000930"], ["updated_at", "2016-12-07 20:04:53.000930"]]
440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
441
+  (0.1ms) SAVEPOINT active_record_1
442
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.002539"], ["updated_at", "2016-12-07 20:04:53.002539"]]
443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
444
+  (0.1ms) ROLLBACK
445
+  (0.2ms) BEGIN
446
+ ------------------------
447
+ MoneyTest: test_nonzero?
448
+ ------------------------
449
+  (0.1ms) SAVEPOINT active_record_1
450
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.005278"], ["updated_at", "2016-12-07 20:04:53.005278"]]
451
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452
+  (0.1ms) SAVEPOINT active_record_1
453
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.006785"], ["updated_at", "2016-12-07 20:04:53.006785"]]
454
+  (0.1ms) RELEASE SAVEPOINT active_record_1
455
+  (0.1ms) ROLLBACK
456
+  (0.1ms) BEGIN
457
+ ----------------------
458
+ MoneyTest: test_coerce
459
+ ----------------------
460
+  (0.1ms) SAVEPOINT active_record_1
461
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.008966"], ["updated_at", "2016-12-07 20:04:53.008966"]]
462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
463
+  (0.1ms) SAVEPOINT active_record_1
464
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.010249"], ["updated_at", "2016-12-07 20:04:53.010249"]]
465
+  (0.1ms) RELEASE SAVEPOINT active_record_1
466
+  (0.1ms) ROLLBACK
467
+  (0.1ms) BEGIN
468
+ -----------------------------------
469
+ MoneyTest: test_to_json_and_as_json
470
+ -----------------------------------
471
+  (0.1ms) SAVEPOINT active_record_1
472
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.012339"], ["updated_at", "2016-12-07 20:04:53.012339"]]
473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
474
+  (0.1ms) SAVEPOINT active_record_1
475
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.013707"], ["updated_at", "2016-12-07 20:04:53.013707"]]
476
+  (0.1ms) RELEASE SAVEPOINT active_record_1
477
+  (0.1ms) ROLLBACK
478
+  (0.1ms) BEGIN
479
+ ---------------------------
480
+ MoneyTest: test_exchange_to
481
+ ---------------------------
482
+  (0.2ms) SAVEPOINT active_record_1
483
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.016145"], ["updated_at", "2016-12-07 20:04:53.016145"]]
484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
485
+  (0.1ms) SAVEPOINT active_record_1
486
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.017680"], ["updated_at", "2016-12-07 20:04:53.017680"]]
487
+  (0.1ms) RELEASE SAVEPOINT active_record_1
488
+  (0.1ms) ROLLBACK
489
+  (0.1ms) BEGIN
490
+ --------------------
491
+ MoneyTest: test_to_s
492
+ --------------------
493
+  (0.1ms) SAVEPOINT active_record_1
494
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.019874"], ["updated_at", "2016-12-07 20:04:53.019874"]]
495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
496
+  (0.1ms) SAVEPOINT active_record_1
497
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.021266"], ["updated_at", "2016-12-07 20:04:53.021266"]]
498
+  (0.1ms) RELEASE SAVEPOINT active_record_1
499
+  (0.1ms) ROLLBACK
500
+  (0.1ms) BEGIN
501
+ ----------------------------
502
+ MoneyTest: test_%_and_modulo
503
+ ----------------------------
504
+  (0.1ms) SAVEPOINT active_record_1
505
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.023360"], ["updated_at", "2016-12-07 20:04:53.023360"]]
506
+  (0.1ms) RELEASE SAVEPOINT active_record_1
507
+  (0.1ms) SAVEPOINT active_record_1
508
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.024647"], ["updated_at", "2016-12-07 20:04:53.024647"]]
509
+  (0.1ms) RELEASE SAVEPOINT active_record_1
510
+  (0.1ms) ROLLBACK
511
+  (0.1ms) BEGIN
512
+ -----------------
513
+ MoneyTest: test_-
514
+ -----------------
515
+  (0.1ms) SAVEPOINT active_record_1
516
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.026820"], ["updated_at", "2016-12-07 20:04:53.026820"]]
517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
518
+  (0.1ms) SAVEPOINT active_record_1
519
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.028174"], ["updated_at", "2016-12-07 20:04:53.028174"]]
520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
521
+  (0.1ms) ROLLBACK
522
+  (0.1ms) BEGIN
523
+ ---------------------
524
+ MoneyTest: test_zero?
525
+ ---------------------
526
+  (0.1ms) SAVEPOINT active_record_1
527
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.030201"], ["updated_at", "2016-12-07 20:04:53.030201"]]
528
+  (0.1ms) RELEASE SAVEPOINT active_record_1
529
+  (0.1ms) SAVEPOINT active_record_1
530
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.031336"], ["updated_at", "2016-12-07 20:04:53.031336"]]
531
+  (0.1ms) RELEASE SAVEPOINT active_record_1
532
+  (0.1ms) ROLLBACK
533
+  (0.1ms) BEGIN
534
+ -------------------
535
+ MoneyTest: test_===
536
+ -------------------
537
+  (0.1ms) SAVEPOINT active_record_1
538
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.034086"], ["updated_at", "2016-12-07 20:04:53.034086"]]
539
+  (0.1ms) RELEASE SAVEPOINT active_record_1
540
+  (0.1ms) SAVEPOINT active_record_1
541
+ SQL (0.4ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.036505"], ["updated_at", "2016-12-07 20:04:53.036505"]]
542
+  (0.2ms) RELEASE SAVEPOINT active_record_1
543
+  (0.1ms) ROLLBACK
544
+  (0.2ms) BEGIN
545
+ -------------------
546
+ MoneyTest: test_<=>
547
+ -------------------
548
+  (0.1ms) SAVEPOINT active_record_1
549
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.040531"], ["updated_at", "2016-12-07 20:04:53.040531"]]
550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
551
+  (0.1ms) SAVEPOINT active_record_1
552
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.042430"], ["updated_at", "2016-12-07 20:04:53.042430"]]
553
+  (0.1ms) RELEASE SAVEPOINT active_record_1
554
+  (0.1ms) ROLLBACK
555
+  (0.1ms) BEGIN
556
+ ------------------
557
+ MoneyTest: test_-@
558
+ ------------------
559
+  (0.1ms) SAVEPOINT active_record_1
560
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.044874"], ["updated_at", "2016-12-07 20:04:53.044874"]]
561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
562
+  (0.1ms) SAVEPOINT active_record_1
563
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.046297"], ["updated_at", "2016-12-07 20:04:53.046297"]]
564
+  (0.1ms) RELEASE SAVEPOINT active_record_1
565
+  (0.1ms) ROLLBACK
566
+  (0.1ms) BEGIN
567
+ -------------------------
568
+ MoneyTest: test_positive?
569
+ -------------------------
570
+  (0.1ms) SAVEPOINT active_record_1
571
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.048769"], ["updated_at", "2016-12-07 20:04:53.048769"]]
572
+  (0.1ms) RELEASE SAVEPOINT active_record_1
573
+  (0.1ms) SAVEPOINT active_record_1
574
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.050526"], ["updated_at", "2016-12-07 20:04:53.050526"]]
575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
576
+  (0.1ms) ROLLBACK
577
+  (0.1ms) BEGIN
578
+ -----------------
579
+ MoneyTest: test_<
580
+ -----------------
581
+  (0.1ms) SAVEPOINT active_record_1
582
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.052663"], ["updated_at", "2016-12-07 20:04:53.052663"]]
583
+  (0.1ms) RELEASE SAVEPOINT active_record_1
584
+  (0.1ms) SAVEPOINT active_record_1
585
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.053968"], ["updated_at", "2016-12-07 20:04:53.053968"]]
586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
587
+  (0.1ms) ROLLBACK
588
+  (0.1ms) BEGIN
589
+ -----------------
590
+ MoneyTest: test_*
591
+ -----------------
592
+  (0.2ms) SAVEPOINT active_record_1
593
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.060035"], ["updated_at", "2016-12-07 20:04:53.060035"]]
594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
595
+  (0.1ms) SAVEPOINT active_record_1
596
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.061956"], ["updated_at", "2016-12-07 20:04:53.061956"]]
597
+  (0.2ms) RELEASE SAVEPOINT active_record_1
598
+  (0.1ms) ROLLBACK
599
+  (0.1ms) BEGIN
600
+ ---------------------------
601
+ GeneratorTest: test_install
602
+ ---------------------------
603
+  (0.3ms) ROLLBACK
604
+  (0.1ms) BEGIN
605
+ ---------------------------
606
+ RecordTest: test_validators
607
+ ---------------------------
608
+  (0.2ms) SAVEPOINT active_record_1
609
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.073959"], ["updated_at", "2016-12-07 20:04:53.073959"]]
610
+  (0.1ms) RELEASE SAVEPOINT active_record_1
611
+  (0.1ms) SAVEPOINT active_record_1
612
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.075854"], ["updated_at", "2016-12-07 20:04:53.075854"]]
613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
614
+  (0.2ms) ROLLBACK
615
+  (0.1ms) BEGIN
616
+ ---------------------------------
617
+ RecordTest: test_default_currency
618
+ ---------------------------------
619
+  (0.1ms) SAVEPOINT active_record_1
620
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.089122"], ["updated_at", "2016-12-07 20:04:53.089122"]]
621
+  (0.1ms) RELEASE SAVEPOINT active_record_1
622
+  (0.1ms) SAVEPOINT active_record_1
623
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.090832"], ["updated_at", "2016-12-07 20:04:53.090832"]]
624
+  (0.2ms) RELEASE SAVEPOINT active_record_1
625
+  (0.1ms) ROLLBACK
626
+  (0.1ms) BEGIN
627
+ ------------------------
628
+ RecordTest: test_helpers
629
+ ------------------------
630
+  (0.1ms) SAVEPOINT active_record_1
631
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.093403"], ["updated_at", "2016-12-07 20:04:53.093403"]]
632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
633
+  (0.3ms) SAVEPOINT active_record_1
634
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.095606"], ["updated_at", "2016-12-07 20:04:53.095606"]]
635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
636
+  (0.1ms) ROLLBACK
637
+  (0.2ms) BEGIN
638
+ ---------------------------
639
+ RecordTest: test_persistent
640
+ ---------------------------
641
+  (0.1ms) SAVEPOINT active_record_1
642
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:04:53.098801"], ["updated_at", "2016-12-07 20:04:53.098801"]]
643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
644
+  (0.1ms) SAVEPOINT active_record_1
645
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:04:53.100422"], ["updated_at", "2016-12-07 20:04:53.100422"]]
646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
647
+  (0.2ms) SAVEPOINT active_record_1
648
+ SQL (0.3ms) INSERT INTO "plans" ("monthly_price", "annually_price", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["monthly_price", "20.0"], ["annually_price", "200.0"], ["currency", "UYU"], ["created_at", "2016-12-07 20:04:53.107529"], ["updated_at", "2016-12-07 20:04:53.107529"]]
649
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
650
+  (0.1ms) ROLLBACK
651
+  (0.1ms) BEGIN
652
+ ----------------------
653
+ RateTest: test_retries
654
+ ----------------------
655
+  (0.1ms) ROLLBACK
656
+  (0.1ms) BEGIN
657
+ --------------------
658
+ RateTest: test_yahoo
659
+ --------------------
660
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
661
+  (0.2ms) BEGIN
662
+ -----------------------------------
663
+ MoneyTest: test_to_json_and_as_json
664
+ -----------------------------------
665
+  (0.2ms) SAVEPOINT active_record_1
666
+ SQL (0.5ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.572089"], ["updated_at", "2016-12-07 20:08:19.572089"]]
667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
668
+  (0.1ms) SAVEPOINT active_record_1
669
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.576832"], ["updated_at", "2016-12-07 20:08:19.576832"]]
670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
671
+  (0.2ms) ROLLBACK
672
+  (0.1ms) BEGIN
673
+ ---------------------------
674
+ MoneyTest: test_exchange_to
675
+ ---------------------------
676
+  (0.1ms) SAVEPOINT active_record_1
677
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.579493"], ["updated_at", "2016-12-07 20:08:19.579493"]]
678
+  (0.1ms) RELEASE SAVEPOINT active_record_1
679
+  (0.1ms) SAVEPOINT active_record_1
680
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.580983"], ["updated_at", "2016-12-07 20:08:19.580983"]]
681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
682
+  (0.1ms) ROLLBACK
683
+  (0.2ms) BEGIN
684
+ ----------------------------
685
+ MoneyTest: test_%_and_modulo
686
+ ----------------------------
687
+  (0.1ms) SAVEPOINT active_record_1
688
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.584810"], ["updated_at", "2016-12-07 20:08:19.584810"]]
689
+  (0.2ms) RELEASE SAVEPOINT active_record_1
690
+  (0.1ms) SAVEPOINT active_record_1
691
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.586349"], ["updated_at", "2016-12-07 20:08:19.586349"]]
692
+  (0.1ms) RELEASE SAVEPOINT active_record_1
693
+  (0.1ms) ROLLBACK
694
+  (0.1ms) BEGIN
695
+ -------------------
696
+ MoneyTest: test_<=>
697
+ -------------------
698
+  (0.1ms) SAVEPOINT active_record_1
699
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.588665"], ["updated_at", "2016-12-07 20:08:19.588665"]]
700
+  (0.1ms) RELEASE SAVEPOINT active_record_1
701
+  (0.1ms) SAVEPOINT active_record_1
702
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.589993"], ["updated_at", "2016-12-07 20:08:19.589993"]]
703
+  (0.1ms) RELEASE SAVEPOINT active_record_1
704
+  (0.1ms) ROLLBACK
705
+  (0.1ms) BEGIN
706
+ --------------------
707
+ MoneyTest: test_to_s
708
+ --------------------
709
+  (0.1ms) SAVEPOINT active_record_1
710
+ SQL (0.4ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.592243"], ["updated_at", "2016-12-07 20:08:19.592243"]]
711
+  (0.1ms) RELEASE SAVEPOINT active_record_1
712
+  (0.2ms) SAVEPOINT active_record_1
713
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.594706"], ["updated_at", "2016-12-07 20:08:19.594706"]]
714
+  (0.1ms) RELEASE SAVEPOINT active_record_1
715
+  (0.1ms) ROLLBACK
716
+  (0.1ms) BEGIN
717
+ ----------------------
718
+ MoneyTest: test_coerce
719
+ ----------------------
720
+  (0.1ms) SAVEPOINT active_record_1
721
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.597586"], ["updated_at", "2016-12-07 20:08:19.597586"]]
722
+  (0.1ms) RELEASE SAVEPOINT active_record_1
723
+  (0.1ms) SAVEPOINT active_record_1
724
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.599201"], ["updated_at", "2016-12-07 20:08:19.599201"]]
725
+  (0.2ms) RELEASE SAVEPOINT active_record_1
726
+  (0.1ms) ROLLBACK
727
+  (0.1ms) BEGIN
728
+ -------------------
729
+ MoneyTest: test_===
730
+ -------------------
731
+  (0.1ms) SAVEPOINT active_record_1
732
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.603175"], ["updated_at", "2016-12-07 20:08:19.603175"]]
733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
734
+  (0.1ms) SAVEPOINT active_record_1
735
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.604659"], ["updated_at", "2016-12-07 20:08:19.604659"]]
736
+  (0.1ms) RELEASE SAVEPOINT active_record_1
737
+  (0.1ms) ROLLBACK
738
+  (0.1ms) BEGIN
739
+ -------------------------
740
+ MoneyTest: test_remainder
741
+ -------------------------
742
+  (0.1ms) SAVEPOINT active_record_1
743
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.606878"], ["updated_at", "2016-12-07 20:08:19.606878"]]
744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
745
+  (0.1ms) SAVEPOINT active_record_1
746
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.608251"], ["updated_at", "2016-12-07 20:08:19.608251"]]
747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
748
+  (0.1ms) ROLLBACK
749
+  (0.1ms) BEGIN
750
+ ------------------
751
+ MoneyTest: test_-@
752
+ ------------------
753
+  (0.1ms) SAVEPOINT active_record_1
754
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.610627"], ["updated_at", "2016-12-07 20:08:19.610627"]]
755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
756
+  (0.1ms) SAVEPOINT active_record_1
757
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.611958"], ["updated_at", "2016-12-07 20:08:19.611958"]]
758
+  (0.1ms) RELEASE SAVEPOINT active_record_1
759
+  (0.1ms) ROLLBACK
760
+  (0.1ms) BEGIN
761
+ -----------------
762
+ MoneyTest: test_+
763
+ -----------------
764
+  (0.1ms) SAVEPOINT active_record_1
765
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.614055"], ["updated_at", "2016-12-07 20:08:19.614055"]]
766
+  (0.1ms) RELEASE SAVEPOINT active_record_1
767
+  (0.1ms) SAVEPOINT active_record_1
768
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.615502"], ["updated_at", "2016-12-07 20:08:19.615502"]]
769
+  (0.1ms) RELEASE SAVEPOINT active_record_1
770
+  (0.1ms) ROLLBACK
771
+  (0.1ms) BEGIN
772
+ -----------------
773
+ MoneyTest: test_-
774
+ -----------------
775
+  (0.1ms) SAVEPOINT active_record_1
776
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.617883"], ["updated_at", "2016-12-07 20:08:19.617883"]]
777
+  (0.1ms) RELEASE SAVEPOINT active_record_1
778
+  (0.1ms) SAVEPOINT active_record_1
779
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.619398"], ["updated_at", "2016-12-07 20:08:19.619398"]]
780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
781
+  (0.1ms) ROLLBACK
782
+  (0.1ms) BEGIN
783
+ ------------------------
784
+ MoneyTest: test_nonzero?
785
+ ------------------------
786
+  (0.1ms) SAVEPOINT active_record_1
787
+ SQL (0.4ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.621876"], ["updated_at", "2016-12-07 20:08:19.621876"]]
788
+  (0.1ms) RELEASE SAVEPOINT active_record_1
789
+  (0.1ms) SAVEPOINT active_record_1
790
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.623464"], ["updated_at", "2016-12-07 20:08:19.623464"]]
791
+  (0.1ms) RELEASE SAVEPOINT active_record_1
792
+  (0.1ms) ROLLBACK
793
+  (0.1ms) BEGIN
794
+ -----------------
795
+ MoneyTest: test_*
796
+ -----------------
797
+  (0.1ms) SAVEPOINT active_record_1
798
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.625642"], ["updated_at", "2016-12-07 20:08:19.625642"]]
799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
800
+  (0.1ms) SAVEPOINT active_record_1
801
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.627011"], ["updated_at", "2016-12-07 20:08:19.627011"]]
802
+  (0.1ms) RELEASE SAVEPOINT active_record_1
803
+  (0.1ms) ROLLBACK
804
+  (0.1ms) BEGIN
805
+ ---------------------
806
+ MoneyTest: test_zero?
807
+ ---------------------
808
+  (0.1ms) SAVEPOINT active_record_1
809
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.629109"], ["updated_at", "2016-12-07 20:08:19.629109"]]
810
+  (0.1ms) RELEASE SAVEPOINT active_record_1
811
+  (0.1ms) SAVEPOINT active_record_1
812
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.630403"], ["updated_at", "2016-12-07 20:08:19.630403"]]
813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
814
+  (0.1ms) ROLLBACK
815
+  (0.1ms) BEGIN
816
+ -------------------------
817
+ MoneyTest: test_negative?
818
+ -------------------------
819
+  (0.1ms) SAVEPOINT active_record_1
820
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.632594"], ["updated_at", "2016-12-07 20:08:19.632594"]]
821
+  (0.1ms) RELEASE SAVEPOINT active_record_1
822
+  (0.1ms) SAVEPOINT active_record_1
823
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.633992"], ["updated_at", "2016-12-07 20:08:19.633992"]]
824
+  (0.1ms) RELEASE SAVEPOINT active_record_1
825
+  (0.1ms) ROLLBACK
826
+  (0.1ms) BEGIN
827
+ -------------------------
828
+ MoneyTest: test_/_and_div
829
+ -------------------------
830
+  (0.1ms) SAVEPOINT active_record_1
831
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.636412"], ["updated_at", "2016-12-07 20:08:19.636412"]]
832
+  (0.1ms) RELEASE SAVEPOINT active_record_1
833
+  (0.1ms) SAVEPOINT active_record_1
834
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.638050"], ["updated_at", "2016-12-07 20:08:19.638050"]]
835
+  (0.1ms) RELEASE SAVEPOINT active_record_1
836
+  (0.1ms) ROLLBACK
837
+  (0.1ms) BEGIN
838
+ -----------------
839
+ MoneyTest: test_<
840
+ -----------------
841
+  (0.1ms) SAVEPOINT active_record_1
842
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.640189"], ["updated_at", "2016-12-07 20:08:19.640189"]]
843
+  (0.1ms) RELEASE SAVEPOINT active_record_1
844
+  (0.1ms) SAVEPOINT active_record_1
845
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.641468"], ["updated_at", "2016-12-07 20:08:19.641468"]]
846
+  (0.1ms) RELEASE SAVEPOINT active_record_1
847
+  (0.1ms) ROLLBACK
848
+  (0.1ms) BEGIN
849
+ -------------------------
850
+ MoneyTest: test_positive?
851
+ -------------------------
852
+  (0.1ms) SAVEPOINT active_record_1
853
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.643619"], ["updated_at", "2016-12-07 20:08:19.643619"]]
854
+  (0.1ms) RELEASE SAVEPOINT active_record_1
855
+  (0.1ms) SAVEPOINT active_record_1
856
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.644861"], ["updated_at", "2016-12-07 20:08:19.644861"]]
857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
858
+  (0.1ms) ROLLBACK
859
+  (0.1ms) BEGIN
860
+ ----------------------
861
+ MoneyTest: test_divmod
862
+ ----------------------
863
+  (0.1ms) SAVEPOINT active_record_1
864
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.647129"], ["updated_at", "2016-12-07 20:08:19.647129"]]
865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
866
+  (0.1ms) SAVEPOINT active_record_1
867
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.648603"], ["updated_at", "2016-12-07 20:08:19.648603"]]
868
+  (0.1ms) RELEASE SAVEPOINT active_record_1
869
+  (0.1ms) ROLLBACK
870
+  (0.1ms) BEGIN
871
+ ---------------------------------
872
+ MoneyTest: test_abs_and_magnitude
873
+ ---------------------------------
874
+  (0.1ms) SAVEPOINT active_record_1
875
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.655083"], ["updated_at", "2016-12-07 20:08:19.655083"]]
876
+  (0.2ms) RELEASE SAVEPOINT active_record_1
877
+  (0.1ms) SAVEPOINT active_record_1
878
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.656689"], ["updated_at", "2016-12-07 20:08:19.656689"]]
879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
880
+  (0.1ms) ROLLBACK
881
+  (0.1ms) BEGIN
882
+ ---------------------------------
883
+ RecordTest: test_default_currency
884
+ ---------------------------------
885
+  (0.1ms) SAVEPOINT active_record_1
886
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.659447"], ["updated_at", "2016-12-07 20:08:19.659447"]]
887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
888
+  (0.1ms) SAVEPOINT active_record_1
889
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.660857"], ["updated_at", "2016-12-07 20:08:19.660857"]]
890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
891
+  (0.1ms) ROLLBACK
892
+  (0.1ms) BEGIN
893
+ ---------------------------
894
+ RecordTest: test_validators
895
+ ---------------------------
896
+  (0.1ms) SAVEPOINT active_record_1
897
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.667615"], ["updated_at", "2016-12-07 20:08:19.667615"]]
898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
899
+  (0.1ms) SAVEPOINT active_record_1
900
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.669208"], ["updated_at", "2016-12-07 20:08:19.669208"]]
901
+  (0.2ms) RELEASE SAVEPOINT active_record_1
902
+  (0.3ms) ROLLBACK
903
+  (0.1ms) BEGIN
904
+ ------------------------
905
+ RecordTest: test_helpers
906
+ ------------------------
907
+  (0.1ms) SAVEPOINT active_record_1
908
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.677143"], ["updated_at", "2016-12-07 20:08:19.677143"]]
909
+  (0.1ms) RELEASE SAVEPOINT active_record_1
910
+  (0.1ms) SAVEPOINT active_record_1
911
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.678785"], ["updated_at", "2016-12-07 20:08:19.678785"]]
912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
913
+  (0.2ms) ROLLBACK
914
+  (0.1ms) BEGIN
915
+ ---------------------------
916
+ RecordTest: test_persistent
917
+ ---------------------------
918
+  (0.1ms) SAVEPOINT active_record_1
919
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:19.681221"], ["updated_at", "2016-12-07 20:08:19.681221"]]
920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
921
+  (0.1ms) SAVEPOINT active_record_1
922
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:19.682606"], ["updated_at", "2016-12-07 20:08:19.682606"]]
923
+  (0.1ms) RELEASE SAVEPOINT active_record_1
924
+  (0.1ms) SAVEPOINT active_record_1
925
+ SQL (0.3ms) INSERT INTO "plans" ("monthly_price", "annually_price", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["monthly_price", "20.0"], ["annually_price", "200.0"], ["currency", "UYU"], ["created_at", "2016-12-07 20:08:19.689038"], ["updated_at", "2016-12-07 20:08:19.689038"]]
926
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
927
+  (0.1ms) ROLLBACK
928
+  (0.1ms) BEGIN
929
+ ---------------------------
930
+ TaskTest: test_update_rates
931
+ ---------------------------
932
+  (0.2ms) SAVEPOINT active_record_1
933
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "29.32"], ["created_at", "2016-12-07 20:08:19.718666"], ["updated_at", "2016-12-07 20:08:19.718666"]]
934
+  (0.2ms) RELEASE SAVEPOINT active_record_1
935
+  (0.1ms) SAVEPOINT active_record_1
936
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.0341"], ["created_at", "2016-12-07 20:08:19.720446"], ["updated_at", "2016-12-07 20:08:19.720446"]]
937
+  (0.1ms) RELEASE SAVEPOINT active_record_1
938
+  (0.3ms) SELECT COUNT(*) FROM "exchanges"
939
+ Economy::Exchange Exists (0.3ms) SELECT 1 AS one FROM "exchanges" WHERE "exchanges"."service" = $1 AND "exchanges"."from" = $2 AND "exchanges"."to" = $3 AND "exchanges"."rate" = $4 LIMIT 1 [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", 29.32]]
940
+ Economy::Exchange Exists (0.2ms) SELECT 1 AS one FROM "exchanges" WHERE "exchanges"."service" = $1 AND "exchanges"."from" = $2 AND "exchanges"."to" = $3 AND "exchanges"."rate" = $4 LIMIT 1 [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", 0.0341]]
941
+  (0.1ms) ROLLBACK
942
+  (0.1ms) BEGIN
943
+ --------------------
944
+ RateTest: test_yahoo
945
+ --------------------
946
+  (0.1ms) ROLLBACK
947
+  (0.1ms) BEGIN
948
+ ----------------------
949
+ RateTest: test_retries
950
+ ----------------------
951
+  (0.1ms) ROLLBACK
952
+  (0.1ms) BEGIN
953
+ ---------------------------
954
+ GeneratorTest: test_install
955
+ ---------------------------
956
+  (0.2ms) ROLLBACK
957
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
958
+  (0.2ms) BEGIN
959
+ ------------------------
960
+ RecordTest: test_helpers
961
+ ------------------------
962
+  (0.1ms) SAVEPOINT active_record_1
963
+ SQL (0.6ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.433786"], ["updated_at", "2016-12-07 20:08:44.433786"]]
964
+  (0.1ms) RELEASE SAVEPOINT active_record_1
965
+  (0.1ms) SAVEPOINT active_record_1
966
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.438642"], ["updated_at", "2016-12-07 20:08:44.438642"]]
967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
968
+  (0.2ms) ROLLBACK
969
+  (0.1ms) BEGIN
970
+ ---------------------------------
971
+ RecordTest: test_default_currency
972
+ ---------------------------------
973
+  (0.1ms) SAVEPOINT active_record_1
974
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.446057"], ["updated_at", "2016-12-07 20:08:44.446057"]]
975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
976
+  (0.1ms) SAVEPOINT active_record_1
977
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.447721"], ["updated_at", "2016-12-07 20:08:44.447721"]]
978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
979
+  (0.2ms) ROLLBACK
980
+  (0.1ms) BEGIN
981
+ ---------------------------
982
+ RecordTest: test_persistent
983
+ ---------------------------
984
+  (0.1ms) SAVEPOINT active_record_1
985
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.450312"], ["updated_at", "2016-12-07 20:08:44.450312"]]
986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
987
+  (0.1ms) SAVEPOINT active_record_1
988
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.451891"], ["updated_at", "2016-12-07 20:08:44.451891"]]
989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
990
+  (0.2ms) SAVEPOINT active_record_1
991
+ SQL (0.4ms) INSERT INTO "plans" ("monthly_price", "annually_price", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["monthly_price", "20.0"], ["annually_price", "200.0"], ["currency", "UYU"], ["created_at", "2016-12-07 20:08:44.459991"], ["updated_at", "2016-12-07 20:08:44.459991"]]
992
+  (0.1ms) RELEASE SAVEPOINT active_record_1
993
+  (0.1ms) SAVEPOINT active_record_1
994
+ SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-12-07 20:08:44.462821"], ["id", 4]]
995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
996
+  (0.1ms) SAVEPOINT active_record_1
997
+ SQL (0.3ms) INSERT INTO "products" ("price", "price_currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["price", "15.0"], ["price_currency", "UYU"], ["created_at", "2016-12-07 20:08:44.469426"], ["updated_at", "2016-12-07 20:08:44.469426"]]
998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
999
+  (0.1ms) SAVEPOINT active_record_1
1000
+ SQL (0.3ms) UPDATE "products" SET "price" = $1, "price_currency" = $2, "updated_at" = $3 WHERE "products"."id" = $4 [["price", "5.0"], ["price_currency", "USD"], ["updated_at", "2016-12-07 20:08:44.471197"], ["id", 2]]
1001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1002
+  (0.1ms) ROLLBACK
1003
+  (0.1ms) BEGIN
1004
+ ---------------------------
1005
+ RecordTest: test_validators
1006
+ ---------------------------
1007
+  (0.2ms) SAVEPOINT active_record_1
1008
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.474370"], ["updated_at", "2016-12-07 20:08:44.474370"]]
1009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1010
+  (0.1ms) SAVEPOINT active_record_1
1011
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.476380"], ["updated_at", "2016-12-07 20:08:44.476380"]]
1012
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1013
+  (0.2ms) ROLLBACK
1014
+  (0.1ms) BEGIN
1015
+ --------------------
1016
+ RateTest: test_yahoo
1017
+ --------------------
1018
+  (0.1ms) ROLLBACK
1019
+  (0.1ms) BEGIN
1020
+ ----------------------
1021
+ RateTest: test_retries
1022
+ ----------------------
1023
+  (0.1ms) ROLLBACK
1024
+  (0.1ms) BEGIN
1025
+ ---------------------------
1026
+ TaskTest: test_update_rates
1027
+ ---------------------------
1028
+  (0.2ms) SAVEPOINT active_record_1
1029
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "29.32"], ["created_at", "2016-12-07 20:08:44.519281"], ["updated_at", "2016-12-07 20:08:44.519281"]]
1030
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1031
+  (0.1ms) SAVEPOINT active_record_1
1032
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.0341"], ["created_at", "2016-12-07 20:08:44.521243"], ["updated_at", "2016-12-07 20:08:44.521243"]]
1033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1034
+  (0.3ms) SELECT COUNT(*) FROM "exchanges"
1035
+ Economy::Exchange Exists (0.4ms) SELECT 1 AS one FROM "exchanges" WHERE "exchanges"."service" = $1 AND "exchanges"."from" = $2 AND "exchanges"."to" = $3 AND "exchanges"."rate" = $4 LIMIT 1 [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", 29.32]]
1036
+ Economy::Exchange Exists (0.2ms) SELECT 1 AS one FROM "exchanges" WHERE "exchanges"."service" = $1 AND "exchanges"."from" = $2 AND "exchanges"."to" = $3 AND "exchanges"."rate" = $4 LIMIT 1 [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", 0.0341]]
1037
+  (0.1ms) ROLLBACK
1038
+  (0.1ms) BEGIN
1039
+ ------------------------
1040
+ MoneyTest: test_nonzero?
1041
+ ------------------------
1042
+  (0.1ms) SAVEPOINT active_record_1
1043
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.534228"], ["updated_at", "2016-12-07 20:08:44.534228"]]
1044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1045
+  (0.1ms) SAVEPOINT active_record_1
1046
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.536083"], ["updated_at", "2016-12-07 20:08:44.536083"]]
1047
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1048
+  (0.1ms) ROLLBACK
1049
+  (0.1ms) BEGIN
1050
+ -----------------
1051
+ MoneyTest: test_-
1052
+ -----------------
1053
+  (0.1ms) SAVEPOINT active_record_1
1054
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.538888"], ["updated_at", "2016-12-07 20:08:44.538888"]]
1055
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1056
+  (0.1ms) SAVEPOINT active_record_1
1057
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.540698"], ["updated_at", "2016-12-07 20:08:44.540698"]]
1058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1059
+  (0.1ms) ROLLBACK
1060
+  (0.1ms) BEGIN
1061
+ ------------------
1062
+ MoneyTest: test_-@
1063
+ ------------------
1064
+  (0.1ms) SAVEPOINT active_record_1
1065
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.543783"], ["updated_at", "2016-12-07 20:08:44.543783"]]
1066
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1067
+  (0.1ms) SAVEPOINT active_record_1
1068
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.545465"], ["updated_at", "2016-12-07 20:08:44.545465"]]
1069
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1070
+  (0.1ms) ROLLBACK
1071
+  (0.1ms) BEGIN
1072
+ -------------------
1073
+ MoneyTest: test_===
1074
+ -------------------
1075
+  (0.1ms) SAVEPOINT active_record_1
1076
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.547947"], ["updated_at", "2016-12-07 20:08:44.547947"]]
1077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1078
+  (0.1ms) SAVEPOINT active_record_1
1079
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.549403"], ["updated_at", "2016-12-07 20:08:44.549403"]]
1080
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1081
+  (0.1ms) ROLLBACK
1082
+  (0.1ms) BEGIN
1083
+ -----------------
1084
+ MoneyTest: test_+
1085
+ -----------------
1086
+  (0.1ms) SAVEPOINT active_record_1
1087
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.551751"], ["updated_at", "2016-12-07 20:08:44.551751"]]
1088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1089
+  (0.1ms) SAVEPOINT active_record_1
1090
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.553101"], ["updated_at", "2016-12-07 20:08:44.553101"]]
1091
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1092
+  (0.1ms) ROLLBACK
1093
+  (0.1ms) BEGIN
1094
+ -------------------------
1095
+ MoneyTest: test_remainder
1096
+ -------------------------
1097
+  (0.1ms) SAVEPOINT active_record_1
1098
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.555490"], ["updated_at", "2016-12-07 20:08:44.555490"]]
1099
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1100
+  (0.1ms) SAVEPOINT active_record_1
1101
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.557303"], ["updated_at", "2016-12-07 20:08:44.557303"]]
1102
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1103
+  (0.1ms) ROLLBACK
1104
+  (0.1ms) BEGIN
1105
+ -----------------
1106
+ MoneyTest: test_*
1107
+ -----------------
1108
+  (0.1ms) SAVEPOINT active_record_1
1109
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.560008"], ["updated_at", "2016-12-07 20:08:44.560008"]]
1110
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1111
+  (0.1ms) SAVEPOINT active_record_1
1112
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.561435"], ["updated_at", "2016-12-07 20:08:44.561435"]]
1113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1114
+  (0.1ms) ROLLBACK
1115
+  (0.1ms) BEGIN
1116
+ ----------------------
1117
+ MoneyTest: test_coerce
1118
+ ----------------------
1119
+  (0.1ms) SAVEPOINT active_record_1
1120
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.563673"], ["updated_at", "2016-12-07 20:08:44.563673"]]
1121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1122
+  (0.1ms) SAVEPOINT active_record_1
1123
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.565065"], ["updated_at", "2016-12-07 20:08:44.565065"]]
1124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1125
+  (0.1ms) ROLLBACK
1126
+  (0.1ms) BEGIN
1127
+ -----------------
1128
+ MoneyTest: test_<
1129
+ -----------------
1130
+  (0.1ms) SAVEPOINT active_record_1
1131
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.567641"], ["updated_at", "2016-12-07 20:08:44.567641"]]
1132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1133
+  (0.1ms) SAVEPOINT active_record_1
1134
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.569441"], ["updated_at", "2016-12-07 20:08:44.569441"]]
1135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1136
+  (0.1ms) ROLLBACK
1137
+  (0.1ms) BEGIN
1138
+ ---------------------------------
1139
+ MoneyTest: test_abs_and_magnitude
1140
+ ---------------------------------
1141
+  (0.1ms) SAVEPOINT active_record_1
1142
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.572033"], ["updated_at", "2016-12-07 20:08:44.572033"]]
1143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1144
+  (0.1ms) SAVEPOINT active_record_1
1145
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.573506"], ["updated_at", "2016-12-07 20:08:44.573506"]]
1146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1147
+  (0.1ms) ROLLBACK
1148
+  (0.1ms) BEGIN
1149
+ -------------------------
1150
+ MoneyTest: test_/_and_div
1151
+ -------------------------
1152
+  (0.1ms) SAVEPOINT active_record_1
1153
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.575887"], ["updated_at", "2016-12-07 20:08:44.575887"]]
1154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1155
+  (0.1ms) SAVEPOINT active_record_1
1156
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.577280"], ["updated_at", "2016-12-07 20:08:44.577280"]]
1157
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1158
+  (0.1ms) ROLLBACK
1159
+  (0.1ms) BEGIN
1160
+ --------------------
1161
+ MoneyTest: test_to_s
1162
+ --------------------
1163
+  (0.1ms) SAVEPOINT active_record_1
1164
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.580328"], ["updated_at", "2016-12-07 20:08:44.580328"]]
1165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1166
+  (0.1ms) SAVEPOINT active_record_1
1167
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.581958"], ["updated_at", "2016-12-07 20:08:44.581958"]]
1168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1169
+  (0.1ms) ROLLBACK
1170
+  (0.2ms) BEGIN
1171
+ ---------------------
1172
+ MoneyTest: test_zero?
1173
+ ---------------------
1174
+  (0.1ms) SAVEPOINT active_record_1
1175
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.588589"], ["updated_at", "2016-12-07 20:08:44.588589"]]
1176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1177
+  (0.1ms) SAVEPOINT active_record_1
1178
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.590395"], ["updated_at", "2016-12-07 20:08:44.590395"]]
1179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1180
+  (0.1ms) ROLLBACK
1181
+  (0.1ms) BEGIN
1182
+ ---------------------------
1183
+ MoneyTest: test_exchange_to
1184
+ ---------------------------
1185
+  (0.1ms) SAVEPOINT active_record_1
1186
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.592867"], ["updated_at", "2016-12-07 20:08:44.592867"]]
1187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1188
+  (0.1ms) SAVEPOINT active_record_1
1189
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.594203"], ["updated_at", "2016-12-07 20:08:44.594203"]]
1190
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1191
+  (0.1ms) ROLLBACK
1192
+  (0.2ms) BEGIN
1193
+ ----------------------
1194
+ MoneyTest: test_divmod
1195
+ ----------------------
1196
+  (0.1ms) SAVEPOINT active_record_1
1197
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.596588"], ["updated_at", "2016-12-07 20:08:44.596588"]]
1198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1199
+  (0.1ms) SAVEPOINT active_record_1
1200
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.598037"], ["updated_at", "2016-12-07 20:08:44.598037"]]
1201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1202
+  (0.1ms) ROLLBACK
1203
+  (0.1ms) BEGIN
1204
+ -------------------------
1205
+ MoneyTest: test_positive?
1206
+ -------------------------
1207
+  (0.1ms) SAVEPOINT active_record_1
1208
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.600684"], ["updated_at", "2016-12-07 20:08:44.600684"]]
1209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1210
+  (0.1ms) SAVEPOINT active_record_1
1211
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.602598"], ["updated_at", "2016-12-07 20:08:44.602598"]]
1212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1213
+  (0.1ms) ROLLBACK
1214
+  (0.1ms) BEGIN
1215
+ -----------------------------------
1216
+ MoneyTest: test_to_json_and_as_json
1217
+ -----------------------------------
1218
+  (0.1ms) SAVEPOINT active_record_1
1219
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.605204"], ["updated_at", "2016-12-07 20:08:44.605204"]]
1220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1221
+  (0.1ms) SAVEPOINT active_record_1
1222
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.606828"], ["updated_at", "2016-12-07 20:08:44.606828"]]
1223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1224
+  (0.1ms) ROLLBACK
1225
+  (0.1ms) BEGIN
1226
+ -------------------------
1227
+ MoneyTest: test_negative?
1228
+ -------------------------
1229
+  (0.1ms) SAVEPOINT active_record_1
1230
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.609551"], ["updated_at", "2016-12-07 20:08:44.609551"]]
1231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1232
+  (0.1ms) SAVEPOINT active_record_1
1233
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.611531"], ["updated_at", "2016-12-07 20:08:44.611531"]]
1234
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1235
+  (0.2ms) ROLLBACK
1236
+  (0.1ms) BEGIN
1237
+ -------------------
1238
+ MoneyTest: test_<=>
1239
+ -------------------
1240
+  (0.1ms) SAVEPOINT active_record_1
1241
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.615074"], ["updated_at", "2016-12-07 20:08:44.615074"]]
1242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1243
+  (0.1ms) SAVEPOINT active_record_1
1244
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.616730"], ["updated_at", "2016-12-07 20:08:44.616730"]]
1245
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1246
+  (0.1ms) ROLLBACK
1247
+  (0.1ms) BEGIN
1248
+ ----------------------------
1249
+ MoneyTest: test_%_and_modulo
1250
+ ----------------------------
1251
+  (0.1ms) SAVEPOINT active_record_1
1252
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:08:44.619217"], ["updated_at", "2016-12-07 20:08:44.619217"]]
1253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1254
+  (0.1ms) SAVEPOINT active_record_1
1255
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:08:44.620566"], ["updated_at", "2016-12-07 20:08:44.620566"]]
1256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1257
+  (0.1ms) ROLLBACK
1258
+  (0.1ms) BEGIN
1259
+ ---------------------------
1260
+ GeneratorTest: test_install
1261
+ ---------------------------
1262
+  (0.2ms) ROLLBACK
1263
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1264
+  (0.2ms) BEGIN
1265
+ ------------------------
1266
+ RecordTest: test_helpers
1267
+ ------------------------
1268
+  (0.2ms) SAVEPOINT active_record_1
1269
+ SQL (0.5ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.661086"], ["updated_at", "2016-12-07 20:26:48.661086"]]
1270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1271
+  (0.2ms) SAVEPOINT active_record_1
1272
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.665995"], ["updated_at", "2016-12-07 20:26:48.665995"]]
1273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1274
+  (0.2ms) ROLLBACK
1275
+  (0.1ms) BEGIN
1276
+ ---------------------------
1277
+ RecordTest: test_persistent
1278
+ ---------------------------
1279
+  (0.2ms) SAVEPOINT active_record_1
1280
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.672962"], ["updated_at", "2016-12-07 20:26:48.672962"]]
1281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1282
+  (0.1ms) SAVEPOINT active_record_1
1283
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.674645"], ["updated_at", "2016-12-07 20:26:48.674645"]]
1284
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1285
+  (0.2ms) SAVEPOINT active_record_1
1286
+ SQL (0.5ms) INSERT INTO "plans" ("monthly_price", "annually_price", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["monthly_price", "20.0"], ["annually_price", "200.0"], ["currency", "UYU"], ["created_at", "2016-12-07 20:26:48.681486"], ["updated_at", "2016-12-07 20:26:48.681486"]]
1287
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1288
+  (0.1ms) ROLLBACK
1289
+  (0.1ms) BEGIN
1290
+ ---------------------------
1291
+ RecordTest: test_validators
1292
+ ---------------------------
1293
+  (0.1ms) SAVEPOINT active_record_1
1294
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.685529"], ["updated_at", "2016-12-07 20:26:48.685529"]]
1295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1296
+  (0.1ms) SAVEPOINT active_record_1
1297
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.687197"], ["updated_at", "2016-12-07 20:26:48.687197"]]
1298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1299
+  (0.2ms) ROLLBACK
1300
+  (0.1ms) BEGIN
1301
+ ---------------------------------
1302
+ RecordTest: test_default_currency
1303
+ ---------------------------------
1304
+  (0.2ms) SAVEPOINT active_record_1
1305
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.696651"], ["updated_at", "2016-12-07 20:26:48.696651"]]
1306
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1307
+  (0.1ms) SAVEPOINT active_record_1
1308
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.698328"], ["updated_at", "2016-12-07 20:26:48.698328"]]
1309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1310
+  (0.1ms) ROLLBACK
1311
+  (0.1ms) BEGIN
1312
+ -------------------------
1313
+ MoneyTest: test_remainder
1314
+ -------------------------
1315
+  (0.1ms) SAVEPOINT active_record_1
1316
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.701147"], ["updated_at", "2016-12-07 20:26:48.701147"]]
1317
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1318
+  (0.1ms) SAVEPOINT active_record_1
1319
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.702604"], ["updated_at", "2016-12-07 20:26:48.702604"]]
1320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1321
+  (0.1ms) ROLLBACK
1322
+  (0.1ms) BEGIN
1323
+ -----------------
1324
+ MoneyTest: test_<
1325
+ -----------------
1326
+  (0.1ms) SAVEPOINT active_record_1
1327
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.704893"], ["updated_at", "2016-12-07 20:26:48.704893"]]
1328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1329
+  (0.1ms) SAVEPOINT active_record_1
1330
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.706304"], ["updated_at", "2016-12-07 20:26:48.706304"]]
1331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1332
+  (0.1ms) ROLLBACK
1333
+  (0.1ms) BEGIN
1334
+ ------------------------
1335
+ MoneyTest: test_nonzero?
1336
+ ------------------------
1337
+  (0.1ms) SAVEPOINT active_record_1
1338
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.708828"], ["updated_at", "2016-12-07 20:26:48.708828"]]
1339
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1340
+  (0.1ms) SAVEPOINT active_record_1
1341
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.710395"], ["updated_at", "2016-12-07 20:26:48.710395"]]
1342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1343
+  (0.1ms) ROLLBACK
1344
+  (0.1ms) BEGIN
1345
+ ------------------
1346
+ MoneyTest: test_-@
1347
+ ------------------
1348
+  (0.1ms) SAVEPOINT active_record_1
1349
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.712575"], ["updated_at", "2016-12-07 20:26:48.712575"]]
1350
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1351
+  (0.1ms) SAVEPOINT active_record_1
1352
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.713981"], ["updated_at", "2016-12-07 20:26:48.713981"]]
1353
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1354
+  (0.1ms) ROLLBACK
1355
+  (0.1ms) BEGIN
1356
+ ----------------------
1357
+ MoneyTest: test_divmod
1358
+ ----------------------
1359
+  (0.1ms) SAVEPOINT active_record_1
1360
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.716108"], ["updated_at", "2016-12-07 20:26:48.716108"]]
1361
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1362
+  (0.1ms) SAVEPOINT active_record_1
1363
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.717449"], ["updated_at", "2016-12-07 20:26:48.717449"]]
1364
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1365
+  (0.1ms) ROLLBACK
1366
+  (0.1ms) BEGIN
1367
+ -------------------
1368
+ MoneyTest: test_<=>
1369
+ -------------------
1370
+  (0.1ms) SAVEPOINT active_record_1
1371
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.719563"], ["updated_at", "2016-12-07 20:26:48.719563"]]
1372
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1373
+  (0.1ms) SAVEPOINT active_record_1
1374
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.720901"], ["updated_at", "2016-12-07 20:26:48.720901"]]
1375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1376
+  (0.1ms) ROLLBACK
1377
+  (0.1ms) BEGIN
1378
+ --------------------
1379
+ MoneyTest: test_to_s
1380
+ --------------------
1381
+  (0.1ms) SAVEPOINT active_record_1
1382
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.722952"], ["updated_at", "2016-12-07 20:26:48.722952"]]
1383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1384
+  (0.1ms) SAVEPOINT active_record_1
1385
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.724291"], ["updated_at", "2016-12-07 20:26:48.724291"]]
1386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1387
+  (0.1ms) ROLLBACK
1388
+  (0.1ms) BEGIN
1389
+ -----------------------------------
1390
+ MoneyTest: test_to_json_and_as_json
1391
+ -----------------------------------
1392
+  (0.1ms) SAVEPOINT active_record_1
1393
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.726571"], ["updated_at", "2016-12-07 20:26:48.726571"]]
1394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1395
+  (0.1ms) SAVEPOINT active_record_1
1396
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.727954"], ["updated_at", "2016-12-07 20:26:48.727954"]]
1397
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1398
+  (0.2ms) ROLLBACK
1399
+  (0.1ms) BEGIN
1400
+ ----------------------
1401
+ MoneyTest: test_coerce
1402
+ ----------------------
1403
+  (0.1ms) SAVEPOINT active_record_1
1404
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.734877"], ["updated_at", "2016-12-07 20:26:48.734877"]]
1405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1406
+  (0.1ms) SAVEPOINT active_record_1
1407
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.736435"], ["updated_at", "2016-12-07 20:26:48.736435"]]
1408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1409
+  (0.1ms) ROLLBACK
1410
+  (0.1ms) BEGIN
1411
+ -------------------------
1412
+ MoneyTest: test_/_and_div
1413
+ -------------------------
1414
+  (0.2ms) SAVEPOINT active_record_1
1415
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.738649"], ["updated_at", "2016-12-07 20:26:48.738649"]]
1416
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1417
+  (0.1ms) SAVEPOINT active_record_1
1418
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.740157"], ["updated_at", "2016-12-07 20:26:48.740157"]]
1419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1420
+  (0.1ms) ROLLBACK
1421
+  (0.1ms) BEGIN
1422
+ -------------------------
1423
+ MoneyTest: test_negative?
1424
+ -------------------------
1425
+  (0.1ms) SAVEPOINT active_record_1
1426
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.742653"], ["updated_at", "2016-12-07 20:26:48.742653"]]
1427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1428
+  (0.1ms) SAVEPOINT active_record_1
1429
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.744128"], ["updated_at", "2016-12-07 20:26:48.744128"]]
1430
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1431
+  (0.1ms) ROLLBACK
1432
+  (0.1ms) BEGIN
1433
+ -----------------
1434
+ MoneyTest: test_+
1435
+ -----------------
1436
+  (0.1ms) SAVEPOINT active_record_1
1437
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.746400"], ["updated_at", "2016-12-07 20:26:48.746400"]]
1438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1439
+  (0.1ms) SAVEPOINT active_record_1
1440
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.747762"], ["updated_at", "2016-12-07 20:26:48.747762"]]
1441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1442
+  (0.1ms) ROLLBACK
1443
+  (0.1ms) BEGIN
1444
+ -------------------------
1445
+ MoneyTest: test_positive?
1446
+ -------------------------
1447
+  (0.1ms) SAVEPOINT active_record_1
1448
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.749943"], ["updated_at", "2016-12-07 20:26:48.749943"]]
1449
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1450
+  (0.1ms) SAVEPOINT active_record_1
1451
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.751189"], ["updated_at", "2016-12-07 20:26:48.751189"]]
1452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1453
+  (0.2ms) ROLLBACK
1454
+  (0.1ms) BEGIN
1455
+ -----------------
1456
+ MoneyTest: test_*
1457
+ -----------------
1458
+  (0.1ms) SAVEPOINT active_record_1
1459
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.754691"], ["updated_at", "2016-12-07 20:26:48.754691"]]
1460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1461
+  (0.1ms) SAVEPOINT active_record_1
1462
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.756299"], ["updated_at", "2016-12-07 20:26:48.756299"]]
1463
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1464
+  (0.1ms) ROLLBACK
1465
+  (0.1ms) BEGIN
1466
+ -------------------
1467
+ MoneyTest: test_===
1468
+ -------------------
1469
+  (0.1ms) SAVEPOINT active_record_1
1470
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.758761"], ["updated_at", "2016-12-07 20:26:48.758761"]]
1471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1472
+  (0.1ms) SAVEPOINT active_record_1
1473
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.760266"], ["updated_at", "2016-12-07 20:26:48.760266"]]
1474
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1475
+  (0.1ms) ROLLBACK
1476
+  (0.1ms) BEGIN
1477
+ -----------------
1478
+ MoneyTest: test_-
1479
+ -----------------
1480
+  (0.1ms) SAVEPOINT active_record_1
1481
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.762509"], ["updated_at", "2016-12-07 20:26:48.762509"]]
1482
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1483
+  (0.1ms) SAVEPOINT active_record_1
1484
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.763859"], ["updated_at", "2016-12-07 20:26:48.763859"]]
1485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1486
+  (0.1ms) ROLLBACK
1487
+  (0.1ms) BEGIN
1488
+ ---------------------------------
1489
+ MoneyTest: test_abs_and_magnitude
1490
+ ---------------------------------
1491
+  (0.1ms) SAVEPOINT active_record_1
1492
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.766033"], ["updated_at", "2016-12-07 20:26:48.766033"]]
1493
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1494
+  (0.1ms) SAVEPOINT active_record_1
1495
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.767477"], ["updated_at", "2016-12-07 20:26:48.767477"]]
1496
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1497
+  (0.1ms) ROLLBACK
1498
+  (0.2ms) BEGIN
1499
+ ---------------------
1500
+ MoneyTest: test_zero?
1501
+ ---------------------
1502
+  (0.1ms) SAVEPOINT active_record_1
1503
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.769852"], ["updated_at", "2016-12-07 20:26:48.769852"]]
1504
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1505
+  (0.1ms) SAVEPOINT active_record_1
1506
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.771346"], ["updated_at", "2016-12-07 20:26:48.771346"]]
1507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1508
+  (0.1ms) ROLLBACK
1509
+  (0.1ms) BEGIN
1510
+ ---------------------------
1511
+ MoneyTest: test_exchange_to
1512
+ ---------------------------
1513
+  (0.1ms) SAVEPOINT active_record_1
1514
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.773414"], ["updated_at", "2016-12-07 20:26:48.773414"]]
1515
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1516
+  (0.1ms) SAVEPOINT active_record_1
1517
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.774779"], ["updated_at", "2016-12-07 20:26:48.774779"]]
1518
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1519
+  (0.1ms) ROLLBACK
1520
+  (0.1ms) BEGIN
1521
+ ----------------------------
1522
+ MoneyTest: test_%_and_modulo
1523
+ ----------------------------
1524
+  (0.1ms) SAVEPOINT active_record_1
1525
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:26:48.777367"], ["updated_at", "2016-12-07 20:26:48.777367"]]
1526
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1527
+  (0.1ms) SAVEPOINT active_record_1
1528
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:26:48.778672"], ["updated_at", "2016-12-07 20:26:48.778672"]]
1529
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1530
+  (0.1ms) ROLLBACK
1531
+  (0.1ms) BEGIN
1532
+ ---------------------------
1533
+ TaskTest: test_update_rates
1534
+ ---------------------------
1535
+  (0.2ms) SAVEPOINT active_record_1
1536
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "29.32"], ["created_at", "2016-12-07 20:26:48.806257"], ["updated_at", "2016-12-07 20:26:48.806257"]]
1537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1538
+  (0.1ms) SAVEPOINT active_record_1
1539
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.0341"], ["created_at", "2016-12-07 20:26:48.808103"], ["updated_at", "2016-12-07 20:26:48.808103"]]
1540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1541
+  (0.3ms) SELECT COUNT(*) FROM "exchanges"
1542
+ Economy::Exchange Exists (0.3ms) SELECT 1 AS one FROM "exchanges" WHERE "exchanges"."service" = $1 AND "exchanges"."from" = $2 AND "exchanges"."to" = $3 AND "exchanges"."rate" = $4 LIMIT 1 [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", 29.32]]
1543
+ Economy::Exchange Exists (0.2ms) SELECT 1 AS one FROM "exchanges" WHERE "exchanges"."service" = $1 AND "exchanges"."from" = $2 AND "exchanges"."to" = $3 AND "exchanges"."rate" = $4 LIMIT 1 [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", 0.0341]]
1544
+  (0.2ms) ROLLBACK
1545
+  (0.1ms) BEGIN
1546
+ ----------------------
1547
+ RateTest: test_retries
1548
+ ----------------------
1549
+  (0.2ms) ROLLBACK
1550
+  (0.1ms) BEGIN
1551
+ --------------------
1552
+ RateTest: test_yahoo
1553
+ --------------------
1554
+  (0.1ms) ROLLBACK
1555
+  (0.1ms) BEGIN
1556
+ ---------------------------
1557
+ GeneratorTest: test_install
1558
+ ---------------------------
1559
+  (0.2ms) ROLLBACK
1560
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1561
+  (0.2ms) BEGIN
1562
+ ---------------------------
1563
+ TaskTest: test_update_rates
1564
+ ---------------------------
1565
+  (0.2ms) SAVEPOINT active_record_1
1566
+ SQL (0.5ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "29.32"], ["created_at", "2016-12-07 20:27:32.956981"], ["updated_at", "2016-12-07 20:27:32.956981"]]
1567
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1568
+  (0.1ms) SAVEPOINT active_record_1
1569
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.0341"], ["created_at", "2016-12-07 20:27:32.961506"], ["updated_at", "2016-12-07 20:27:32.961506"]]
1570
+  (1.2ms) RELEASE SAVEPOINT active_record_1
1571
+  (0.4ms) SELECT COUNT(*) FROM "exchanges"
1572
+ Economy::Exchange Exists (0.3ms) SELECT 1 AS one FROM "exchanges" WHERE "exchanges"."service" = $1 AND "exchanges"."from" = $2 AND "exchanges"."to" = $3 AND "exchanges"."rate" = $4 LIMIT 1 [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", 29.32]]
1573
+ Economy::Exchange Exists (0.3ms) SELECT 1 AS one FROM "exchanges" WHERE "exchanges"."service" = $1 AND "exchanges"."from" = $2 AND "exchanges"."to" = $3 AND "exchanges"."rate" = $4 LIMIT 1 [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", 0.0341]]
1574
+  (0.2ms) ROLLBACK
1575
+  (0.1ms) BEGIN
1576
+ ----------------------
1577
+ RateTest: test_retries
1578
+ ----------------------
1579
+  (0.2ms) ROLLBACK
1580
+  (0.1ms) BEGIN
1581
+ --------------------
1582
+ RateTest: test_yahoo
1583
+ --------------------
1584
+  (0.2ms) ROLLBACK
1585
+  (0.1ms) BEGIN
1586
+ ------------------------
1587
+ RecordTest: test_helpers
1588
+ ------------------------
1589
+  (0.2ms) SAVEPOINT active_record_1
1590
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:32.988423"], ["updated_at", "2016-12-07 20:27:32.988423"]]
1591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1592
+  (0.1ms) SAVEPOINT active_record_1
1593
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:32.990181"], ["updated_at", "2016-12-07 20:27:32.990181"]]
1594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1595
+  (0.2ms) ROLLBACK
1596
+  (0.1ms) BEGIN
1597
+ ---------------------------
1598
+ RecordTest: test_validators
1599
+ ---------------------------
1600
+  (0.1ms) SAVEPOINT active_record_1
1601
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:32.997007"], ["updated_at", "2016-12-07 20:27:32.997007"]]
1602
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1603
+  (0.1ms) SAVEPOINT active_record_1
1604
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:32.998694"], ["updated_at", "2016-12-07 20:27:32.998694"]]
1605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1606
+  (0.2ms) ROLLBACK
1607
+  (0.1ms) BEGIN
1608
+ ---------------------------------
1609
+ RecordTest: test_default_currency
1610
+ ---------------------------------
1611
+  (0.2ms) SAVEPOINT active_record_1
1612
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.006751"], ["updated_at", "2016-12-07 20:27:33.006751"]]
1613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1614
+  (0.1ms) SAVEPOINT active_record_1
1615
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.008413"], ["updated_at", "2016-12-07 20:27:33.008413"]]
1616
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1617
+  (0.1ms) ROLLBACK
1618
+  (0.2ms) BEGIN
1619
+ ---------------------------
1620
+ RecordTest: test_persistent
1621
+ ---------------------------
1622
+  (0.1ms) SAVEPOINT active_record_1
1623
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.011216"], ["updated_at", "2016-12-07 20:27:33.011216"]]
1624
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1625
+  (0.1ms) SAVEPOINT active_record_1
1626
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.013046"], ["updated_at", "2016-12-07 20:27:33.013046"]]
1627
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1628
+  (0.1ms) SAVEPOINT active_record_1
1629
+ SQL (0.3ms) INSERT INTO "plans" ("monthly_price", "annually_price", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["monthly_price", "20.0"], ["annually_price", "200.0"], ["currency", "UYU"], ["created_at", "2016-12-07 20:27:33.019073"], ["updated_at", "2016-12-07 20:27:33.019073"]]
1630
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1631
+  (0.1ms) SAVEPOINT active_record_1
1632
+ SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-12-07 20:27:33.021334"], ["id", 6]]
1633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634
+  (0.1ms) SAVEPOINT active_record_1
1635
+ SQL (0.3ms) INSERT INTO "products" ("price", "price_currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["price", "15.0"], ["price_currency", "UYU"], ["created_at", "2016-12-07 20:27:33.023668"], ["updated_at", "2016-12-07 20:27:33.023668"]]
1636
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637
+  (0.1ms) SAVEPOINT active_record_1
1638
+ SQL (0.2ms) UPDATE "products" SET "price" = $1, "price_currency" = $2, "updated_at" = $3 WHERE "products"."id" = $4 [["price", "5.0"], ["price_currency", "USD"], ["updated_at", "2016-12-07 20:27:33.025388"], ["id", 3]]
1639
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1640
+  (0.1ms) ROLLBACK
1641
+  (0.1ms) BEGIN
1642
+ -----------------
1643
+ MoneyTest: test_-
1644
+ -----------------
1645
+  (0.1ms) SAVEPOINT active_record_1
1646
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.028603"], ["updated_at", "2016-12-07 20:27:33.028603"]]
1647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1648
+  (0.1ms) SAVEPOINT active_record_1
1649
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.030244"], ["updated_at", "2016-12-07 20:27:33.030244"]]
1650
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1651
+  (0.1ms) ROLLBACK
1652
+  (0.1ms) BEGIN
1653
+ --------------------
1654
+ MoneyTest: test_to_s
1655
+ --------------------
1656
+  (0.1ms) SAVEPOINT active_record_1
1657
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.033090"], ["updated_at", "2016-12-07 20:27:33.033090"]]
1658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1659
+  (0.1ms) SAVEPOINT active_record_1
1660
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.034517"], ["updated_at", "2016-12-07 20:27:33.034517"]]
1661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1662
+  (0.1ms) ROLLBACK
1663
+  (0.1ms) BEGIN
1664
+ ------------------------
1665
+ MoneyTest: test_nonzero?
1666
+ ------------------------
1667
+  (0.1ms) SAVEPOINT active_record_1
1668
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.040630"], ["updated_at", "2016-12-07 20:27:33.040630"]]
1669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1670
+  (0.1ms) SAVEPOINT active_record_1
1671
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.042059"], ["updated_at", "2016-12-07 20:27:33.042059"]]
1672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1673
+  (0.1ms) ROLLBACK
1674
+  (0.1ms) BEGIN
1675
+ -------------------
1676
+ MoneyTest: test_===
1677
+ -------------------
1678
+  (0.1ms) SAVEPOINT active_record_1
1679
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.044446"], ["updated_at", "2016-12-07 20:27:33.044446"]]
1680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1681
+  (0.1ms) SAVEPOINT active_record_1
1682
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.045897"], ["updated_at", "2016-12-07 20:27:33.045897"]]
1683
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1684
+  (0.1ms) ROLLBACK
1685
+  (0.2ms) BEGIN
1686
+ ---------------------------------
1687
+ MoneyTest: test_abs_and_magnitude
1688
+ ---------------------------------
1689
+  (0.1ms) SAVEPOINT active_record_1
1690
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.048431"], ["updated_at", "2016-12-07 20:27:33.048431"]]
1691
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1692
+  (0.2ms) SAVEPOINT active_record_1
1693
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.050357"], ["updated_at", "2016-12-07 20:27:33.050357"]]
1694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1695
+  (0.1ms) ROLLBACK
1696
+  (0.3ms) BEGIN
1697
+ ----------------------------
1698
+ MoneyTest: test_%_and_modulo
1699
+ ----------------------------
1700
+  (0.2ms) SAVEPOINT active_record_1
1701
+ SQL (0.3ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.053087"], ["updated_at", "2016-12-07 20:27:33.053087"]]
1702
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1703
+  (0.1ms) SAVEPOINT active_record_1
1704
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.054745"], ["updated_at", "2016-12-07 20:27:33.054745"]]
1705
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1706
+  (0.1ms) ROLLBACK
1707
+  (0.1ms) BEGIN
1708
+ ----------------------
1709
+ MoneyTest: test_coerce
1710
+ ----------------------
1711
+  (0.1ms) SAVEPOINT active_record_1
1712
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.057816"], ["updated_at", "2016-12-07 20:27:33.057816"]]
1713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1714
+  (0.1ms) SAVEPOINT active_record_1
1715
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.059183"], ["updated_at", "2016-12-07 20:27:33.059183"]]
1716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1717
+  (0.1ms) ROLLBACK
1718
+  (0.1ms) BEGIN
1719
+ -------------------------
1720
+ MoneyTest: test_negative?
1721
+ -------------------------
1722
+  (0.1ms) SAVEPOINT active_record_1
1723
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.061798"], ["updated_at", "2016-12-07 20:27:33.061798"]]
1724
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1725
+  (0.1ms) SAVEPOINT active_record_1
1726
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.063508"], ["updated_at", "2016-12-07 20:27:33.063508"]]
1727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1728
+  (0.1ms) ROLLBACK
1729
+  (0.1ms) BEGIN
1730
+ ----------------------
1731
+ MoneyTest: test_divmod
1732
+ ----------------------
1733
+  (0.1ms) SAVEPOINT active_record_1
1734
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.065600"], ["updated_at", "2016-12-07 20:27:33.065600"]]
1735
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1736
+  (0.1ms) SAVEPOINT active_record_1
1737
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.066918"], ["updated_at", "2016-12-07 20:27:33.066918"]]
1738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1739
+  (0.1ms) ROLLBACK
1740
+  (0.1ms) BEGIN
1741
+ -------------------
1742
+ MoneyTest: test_<=>
1743
+ -------------------
1744
+  (0.1ms) SAVEPOINT active_record_1
1745
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.069056"], ["updated_at", "2016-12-07 20:27:33.069056"]]
1746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1747
+  (0.1ms) SAVEPOINT active_record_1
1748
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.070344"], ["updated_at", "2016-12-07 20:27:33.070344"]]
1749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1750
+  (0.1ms) ROLLBACK
1751
+  (0.1ms) BEGIN
1752
+ -----------------
1753
+ MoneyTest: test_*
1754
+ -----------------
1755
+  (0.1ms) SAVEPOINT active_record_1
1756
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.072447"], ["updated_at", "2016-12-07 20:27:33.072447"]]
1757
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1758
+  (0.1ms) SAVEPOINT active_record_1
1759
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.073746"], ["updated_at", "2016-12-07 20:27:33.073746"]]
1760
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1761
+  (0.1ms) ROLLBACK
1762
+  (0.1ms) BEGIN
1763
+ ------------------
1764
+ MoneyTest: test_-@
1765
+ ------------------
1766
+  (0.1ms) SAVEPOINT active_record_1
1767
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.075885"], ["updated_at", "2016-12-07 20:27:33.075885"]]
1768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1769
+  (0.1ms) SAVEPOINT active_record_1
1770
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.077215"], ["updated_at", "2016-12-07 20:27:33.077215"]]
1771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1772
+  (0.1ms) ROLLBACK
1773
+  (0.1ms) BEGIN
1774
+ -------------------------
1775
+ MoneyTest: test_/_and_div
1776
+ -------------------------
1777
+  (0.1ms) SAVEPOINT active_record_1
1778
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.079496"], ["updated_at", "2016-12-07 20:27:33.079496"]]
1779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1780
+  (0.1ms) SAVEPOINT active_record_1
1781
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.080796"], ["updated_at", "2016-12-07 20:27:33.080796"]]
1782
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1783
+  (0.1ms) ROLLBACK
1784
+  (0.1ms) BEGIN
1785
+ -------------------------
1786
+ MoneyTest: test_positive?
1787
+ -------------------------
1788
+  (0.1ms) SAVEPOINT active_record_1
1789
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.083082"], ["updated_at", "2016-12-07 20:27:33.083082"]]
1790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1791
+  (0.1ms) SAVEPOINT active_record_1
1792
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.084335"], ["updated_at", "2016-12-07 20:27:33.084335"]]
1793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1794
+  (0.1ms) ROLLBACK
1795
+  (0.1ms) BEGIN
1796
+ ---------------------------
1797
+ MoneyTest: test_exchange_to
1798
+ ---------------------------
1799
+  (0.1ms) SAVEPOINT active_record_1
1800
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.086362"], ["updated_at", "2016-12-07 20:27:33.086362"]]
1801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1802
+  (0.1ms) SAVEPOINT active_record_1
1803
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.087724"], ["updated_at", "2016-12-07 20:27:33.087724"]]
1804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1805
+  (0.1ms) ROLLBACK
1806
+  (0.1ms) BEGIN
1807
+ -----------------
1808
+ MoneyTest: test_+
1809
+ -----------------
1810
+  (0.1ms) SAVEPOINT active_record_1
1811
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.089819"], ["updated_at", "2016-12-07 20:27:33.089819"]]
1812
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1813
+  (0.1ms) SAVEPOINT active_record_1
1814
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.091041"], ["updated_at", "2016-12-07 20:27:33.091041"]]
1815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1816
+  (0.1ms) ROLLBACK
1817
+  (0.1ms) BEGIN
1818
+ -----------------
1819
+ MoneyTest: test_<
1820
+ -----------------
1821
+  (0.1ms) SAVEPOINT active_record_1
1822
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.093081"], ["updated_at", "2016-12-07 20:27:33.093081"]]
1823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1824
+  (0.1ms) SAVEPOINT active_record_1
1825
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.094329"], ["updated_at", "2016-12-07 20:27:33.094329"]]
1826
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1827
+  (0.1ms) ROLLBACK
1828
+  (0.1ms) BEGIN
1829
+ ---------------------
1830
+ MoneyTest: test_zero?
1831
+ ---------------------
1832
+  (0.1ms) SAVEPOINT active_record_1
1833
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.096773"], ["updated_at", "2016-12-07 20:27:33.096773"]]
1834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1835
+  (0.1ms) SAVEPOINT active_record_1
1836
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.098101"], ["updated_at", "2016-12-07 20:27:33.098101"]]
1837
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1838
+  (0.1ms) ROLLBACK
1839
+  (0.1ms) BEGIN
1840
+ -------------------------
1841
+ MoneyTest: test_remainder
1842
+ -------------------------
1843
+  (0.1ms) SAVEPOINT active_record_1
1844
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.100488"], ["updated_at", "2016-12-07 20:27:33.100488"]]
1845
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1846
+  (0.1ms) SAVEPOINT active_record_1
1847
+ SQL (0.1ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.102015"], ["updated_at", "2016-12-07 20:27:33.102015"]]
1848
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1849
+  (0.1ms) ROLLBACK
1850
+  (0.1ms) BEGIN
1851
+ -----------------------------------
1852
+ MoneyTest: test_to_json_and_as_json
1853
+ -----------------------------------
1854
+  (0.1ms) SAVEPOINT active_record_1
1855
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-12-07 20:27:33.104476"], ["updated_at", "2016-12-07 20:27:33.104476"]]
1856
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1857
+  (0.1ms) SAVEPOINT active_record_1
1858
+ SQL (0.2ms) INSERT INTO "exchanges" ("service", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["service", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-12-07 20:27:33.105764"], ["updated_at", "2016-12-07 20:27:33.105764"]]
1859
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1860
+  (0.1ms) ROLLBACK
1861
+  (0.1ms) BEGIN
1862
+ ---------------------------
1863
+ GeneratorTest: test_install
1864
+ ---------------------------
1865
+  (0.2ms) ROLLBACK