ActiveRecord::SchemaMigration Load (7.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (187.2ms) DROP DATABASE IF EXISTS "makers_test"  (313.4ms) CREATE DATABASE "makers_test" ENCODING = 'utf8'  (0.3ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (183.5ms) DROP DATABASE IF EXISTS "makers_test"  (330.0ms) CREATE DATABASE "makers_test" ENCODING = 'utf8'  (0.3ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (10.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateExchanges (20161115135521)  (0.1ms) BEGIN  (1.8ms) CREATE TABLE "exchanges" ("id" serial primary key, "source" 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)   (0.6ms) CREATE INDEX "index_exchanges_on_from_and_to" ON "exchanges" ("from", "to") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115135521"]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) 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 FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'exchanges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? ------------------------- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (171.5ms) DROP DATABASE IF EXISTS "makers_test"  (390.2ms) CREATE DATABASE "makers_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.1ms) CREATE TABLE "exchanges" ("id" serial primary key, "source" 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)  (0.7ms) CREATE INDEX "index_exchanges_on_from_and_to" ON "exchanges" USING btree ("from", "to")  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT version FROM "schema_migrations"  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20161115135521') ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateProducts (20161115145905)  (0.2ms) BEGIN  (2.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)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115145905"]]  (0.5ms) COMMIT Migrating to CreatePlans (20161115150024)  (0.2ms) BEGIN  (1.4ms) 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)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115150024"]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.0ms) 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 FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'exchanges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) 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 FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'plans' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (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 FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------------------- RecordTest: test_currency_column --------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- RecordTest: test_currency_column --------------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------------------- RecordTest: test_currency_column --------------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------------------- RecordTest: test_currency_column --------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------------------- RecordTest: test_currency_column --------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- RecordTest: test_currency_column --------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------------- RecordTest: test_currency_column --------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- RecordTest: test_currency_column --------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- RecordTest: test_assignments ---------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- RecordTest: test_assignments ---------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (1.0ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (31.2ms) 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-11-15 20:32:40.138845"], ["updated_at", "2016-11-15 20:32:40.138845"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-15 20:32:40.180593"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.4ms) 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-11-15 20:32:40.209395"], ["updated_at", "2016-11-15 20:32:40.209395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:32:40.213692"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-15 20:37:19.179355"], ["updated_at", "2016-11-15 20:37:19.179355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) 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-11-15 20:37:41.455223"], ["updated_at", "2016-11-15 20:37:41.455223"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-15 20:37:41.460987"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:38:01.209391"], ["updated_at", "2016-11-15 20:38:01.209391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-15 20:38:01.213844"], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:38:01.219713"], ["updated_at", "2016-11-15 20:38:01.219713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:38:01.221555"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-15 20:38:44.404345"], ["updated_at", "2016-11-15 20:38:44.404345"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-15 20:38:44.416011"], ["updated_at", "2016-11-15 20:38:44.416011"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-15 20:38:44.418213"], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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-11-15 20:38:44.422655"], ["updated_at", "2016-11-15 20:38:44.422655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:38:44.424226"], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- RecordTest: test_assignments ----------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-15 20:38:52.884221"], ["updated_at", "2016-11-15 20:38:52.884221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-15 20:38:52.888753"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:38:52.897868"], ["updated_at", "2016-11-15 20:38:52.897868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:38:52.899690"], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-15 20:38:52.904483"], ["updated_at", "2016-11-15 20:38:52.904483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) 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-11-15 20:46:51.237816"], ["updated_at", "2016-11-15 20:46:51.237816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-15 20:48:37.248503"], ["updated_at", "2016-11-15 20:48:37.248503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-15 20:48:37.254047"], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:48:37.258656"], ["updated_at", "2016-11-15 20:48:37.258656"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-15 20:48:37.260444"], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-15 20:50:50.924680"], ["updated_at", "2016-11-15 20:50:50.924680"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-15 20:50:50.930079"], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:50:50.934588"], ["updated_at", "2016-11-15 20:50:50.934588"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:50:50.936264"], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (6.8ms) 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-11-15 20:52:19.033057"], ["updated_at", "2016-11-15 20:52:19.033057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-15 20:52:19.044540"], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:52:19.049084"], ["updated_at", "2016-11-15 20:52:19.049084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-15 20:52:19.050835"], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------- MoneyTest: test_abs -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-16 12:57:37.294568"], ["updated_at", "2016-11-16 12:57:37.294568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-16 12:57:37.299029"], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 12:57:37.303814"], ["updated_at", "2016-11-16 12:57:37.303814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 12:57:37.305669"], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (6.1ms) 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-11-16 13:09:35.928063"], ["updated_at", "2016-11-16 13:09:35.928063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-16 13:09:35.939288"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 13:09:35.943932"], ["updated_at", "2016-11-16 13:09:35.943932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 13:09:35.945743"], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.9ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- MoneyTest: test_abs_/_magnitude -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_/ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (6.8ms) 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-11-16 16:17:02.743599"], ["updated_at", "2016-11-16 16:17:02.743599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-16 16:17:02.757225"], ["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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-11-16 16:17:02.762456"], ["updated_at", "2016-11-16 16:17:02.762456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 16:17:02.764370"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (5.9ms) 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-11-16 17:57:28.967762"], ["updated_at", "2016-11-16 17:57:28.967762"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.7ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-16 17:57:28.978064"], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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-11-16 17:57:28.993042"], ["updated_at", "2016-11-16 17:57:28.993042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 17:57:28.995004"], ["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (1.0ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder ------------------------- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.9ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_round ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_==_and_eql? ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_== ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.9ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_> -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_<= ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_>= ------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-16 18:53:16.698543"], ["updated_at", "2016-11-16 18:53:16.698543"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-16 18:53:16.703385"], ["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.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-11-16 18:53:16.708136"], ["updated_at", "2016-11-16 18:53:16.708136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 18:53:16.715410"], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-16 18:55:21.796035"], ["updated_at", "2016-11-16 18:55:21.796035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-16 18:55:21.801734"], ["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 18:55:21.807225"], ["updated_at", "2016-11-16 18:55:21.807225"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 18:55:21.809069"], ["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (5.9ms) 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-11-16 19:00:06.425940"], ["updated_at", "2016-11-16 19:00:06.425940"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-16 19:00:06.435853"], ["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 19:00:06.441286"], ["updated_at", "2016-11-16 19:00:06.441286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 19:00:06.443120"], ["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo --------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.3ms) SAVEPOINT active_record_1 SQL (25.1ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.501232"], ["updated_at", "2016-11-16 19:23:40.501232"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.530828"], ["updated_at", "2016-11-16 19:23:40.530828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.534423"], ["updated_at", "2016-11-16 19:23:40.534423"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.536125"], ["updated_at", "2016-11-16 19:23:40.536125"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.545855"], ["updated_at", "2016-11-16 19:23:40.545855"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.547664"], ["updated_at", "2016-11-16 19:23:40.547664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.550358"], ["updated_at", "2016-11-16 19:23:40.550358"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.551899"], ["updated_at", "2016-11-16 19:23:40.551899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.554264"], ["updated_at", "2016-11-16 19:23:40.554264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.555674"], ["updated_at", "2016-11-16 19:23:40.555674"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.557963"], ["updated_at", "2016-11-16 19:23:40.557963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.559347"], ["updated_at", "2016-11-16 19:23:40.559347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.561819"], ["updated_at", "2016-11-16 19:23:40.561819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.563169"], ["updated_at", "2016-11-16 19:23:40.563169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.565382"], ["updated_at", "2016-11-16 19:23:40.565382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.566703"], ["updated_at", "2016-11-16 19:23:40.566703"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.568920"], ["updated_at", "2016-11-16 19:23:40.568920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.570491"], ["updated_at", "2016-11-16 19:23:40.570491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.573073"], ["updated_at", "2016-11-16 19:23:40.573073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.574486"], ["updated_at", "2016-11-16 19:23:40.574486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.576904"], ["updated_at", "2016-11-16 19:23:40.576904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.578237"], ["updated_at", "2016-11-16 19:23:40.578237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.580506"], ["updated_at", "2016-11-16 19:23:40.580506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.581874"], ["updated_at", "2016-11-16 19:23:40.581874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.584419"], ["updated_at", "2016-11-16 19:23:40.584419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.585775"], ["updated_at", "2016-11-16 19:23:40.585775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.588027"], ["updated_at", "2016-11-16 19:23:40.588027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.589414"], ["updated_at", "2016-11-16 19:23:40.589414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.591608"], ["updated_at", "2016-11-16 19:23:40.591608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.593622"], ["updated_at", "2016-11-16 19:23:40.593622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.596113"], ["updated_at", "2016-11-16 19:23:40.596113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.597551"], ["updated_at", "2016-11-16 19:23:40.597551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.600218"], ["updated_at", "2016-11-16 19:23:40.600218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.601598"], ["updated_at", "2016-11-16 19:23:40.601598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.604060"], ["updated_at", "2016-11-16 19:23:40.604060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.605779"], ["updated_at", "2016-11-16 19:23:40.605779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:40.608254"], ["updated_at", "2016-11-16 19:23:40.608254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:40.609611"], ["updated_at", "2016-11-16 19:23:40.609611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:46.098549"], ["updated_at", "2016-11-16 19:23:46.098549"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:46.102542"], ["updated_at", "2016-11-16 19:23:46.102542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:46.111819"], ["updated_at", "2016-11-16 19:23:46.111819"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:46.113640"], ["updated_at", "2016-11-16 19:23:46.113640"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:46.116341"], ["updated_at", "2016-11-16 19:23:46.116341"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:46.117872"], ["updated_at", "2016-11-16 19:23:46.117872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-16 19:23:46.124295"], ["updated_at", "2016-11-16 19:23:46.124295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-16 19:23:46.126479"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 19:23:46.134589"], ["updated_at", "2016-11-16 19:23:46.134589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 19:23:46.136267"], ["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:23:46.138900"], ["updated_at", "2016-11-16 19:23:46.138900"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:23:46.140463"], ["updated_at", "2016-11-16 19:23:46.140463"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.781234"], ["updated_at", "2016-11-16 19:30:15.781234"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.786324"], ["updated_at", "2016-11-16 19:30:15.786324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.794681"], ["updated_at", "2016-11-16 19:30:15.794681"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.796421"], ["updated_at", "2016-11-16 19:30:15.796421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.804188"], ["updated_at", "2016-11-16 19:30:15.804188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.805945"], ["updated_at", "2016-11-16 19:30:15.805945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.808825"], ["updated_at", "2016-11-16 19:30:15.808825"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.810288"], ["updated_at", "2016-11-16 19:30:15.810288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-16 19:30:15.816247"], ["updated_at", "2016-11-16 19:30:15.816247"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-16 19:30:15.818242"], ["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 19:30:15.822485"], ["updated_at", "2016-11-16 19:30:15.822485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 19:30:15.824120"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.827107"], ["updated_at", "2016-11-16 19:30:15.827107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.828679"], ["updated_at", "2016-11-16 19:30:15.828679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.831466"], ["updated_at", "2016-11-16 19:30:15.831466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.832960"], ["updated_at", "2016-11-16 19:30:15.832960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.835177"], ["updated_at", "2016-11-16 19:30:15.835177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.836589"], ["updated_at", "2016-11-16 19:30:15.836589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.838876"], ["updated_at", "2016-11-16 19:30:15.838876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.840308"], ["updated_at", "2016-11-16 19:30:15.840308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.842584"], ["updated_at", "2016-11-16 19:30:15.842584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.843974"], ["updated_at", "2016-11-16 19:30:15.843974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.846256"], ["updated_at", "2016-11-16 19:30:15.846256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.847725"], ["updated_at", "2016-11-16 19:30:15.847725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.850031"], ["updated_at", "2016-11-16 19:30:15.850031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.851351"], ["updated_at", "2016-11-16 19:30:15.851351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.853562"], ["updated_at", "2016-11-16 19:30:15.853562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.854983"], ["updated_at", "2016-11-16 19:30:15.854983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.857173"], ["updated_at", "2016-11-16 19:30:15.857173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.858545"], ["updated_at", "2016-11-16 19:30:15.858545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.860844"], ["updated_at", "2016-11-16 19:30:15.860844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.862208"], ["updated_at", "2016-11-16 19:30:15.862208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.864523"], ["updated_at", "2016-11-16 19:30:15.864523"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.865980"], ["updated_at", "2016-11-16 19:30:15.865980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.868387"], ["updated_at", "2016-11-16 19:30:15.868387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.869872"], ["updated_at", "2016-11-16 19:30:15.869872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.872451"], ["updated_at", "2016-11-16 19:30:15.872451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.873809"], ["updated_at", "2016-11-16 19:30:15.873809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.876202"], ["updated_at", "2016-11-16 19:30:15.876202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.877552"], ["updated_at", "2016-11-16 19:30:15.877552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.880073"], ["updated_at", "2016-11-16 19:30:15.880073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.881521"], ["updated_at", "2016-11-16 19:30:15.881521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.883808"], ["updated_at", "2016-11-16 19:30:15.883808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.885246"], ["updated_at", "2016-11-16 19:30:15.885246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.887695"], ["updated_at", "2016-11-16 19:30:15.887695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.889107"], ["updated_at", "2016-11-16 19:30:15.889107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.891590"], ["updated_at", "2016-11-16 19:30:15.891590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.892962"], ["updated_at", "2016-11-16 19:30:15.892962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "USD"], ["to", "UYU"], ["rate", "20.0"], ["created_at", "2016-11-16 19:30:15.898814"], ["updated_at", "2016-11-16 19:30:15.898814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "exchanges" ("source", "from", "to", "rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["source", "Yahoo"], ["from", "UYU"], ["to", "USD"], ["rate", "0.05"], ["created_at", "2016-11-16 19:30:15.900289"], ["updated_at", "2016-11-16 19:30:15.900289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) ROLLBACK  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateExchanges (20161115135521)  (0.2ms) BEGIN  (1.8ms) 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)   (0.6ms) CREATE INDEX "index_exchanges_on_from_and_to" ON "exchanges" ("from", "to") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115135521"]]  (0.3ms) COMMIT Migrating to CreateProducts (20161115145905)  (0.2ms) BEGIN  (1.7ms) 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) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115145905"]]  (0.3ms) COMMIT Migrating to CreatePlans (20161115150024)  (0.2ms) BEGIN  (2.9ms) 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) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161115150024"]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) 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 FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'exchanges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) 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 FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'plans' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (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 FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (6.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-11-16 20:11:39.072872"], ["updated_at", "2016-11-16 20:11:39.072872"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:11:39.082928"], ["updated_at", "2016-11-16 20:11:39.082928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) SAVEPOINT active_record_1 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", "29.32"], ["created_at", "2016-11-16 20:11:55.712758"], ["updated_at", "2016-11-16 20:11:55.712758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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.0341"], ["created_at", "2016-11-16 20:11:55.716519"], ["updated_at", "2016-11-16 20:11:55.716519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "exchanges"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) SAVEPOINT active_record_1 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", "29.32"], ["created_at", "2016-11-16 20:14:08.443629"], ["updated_at", "2016-11-16 20:14:08.443629"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:14:08.447140"], ["updated_at", "2016-11-16 20:14:08.447140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "exchanges" Economy::Exchange Load (12.3ms) SELECT "exchanges".* 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]] Economy::Exchange Load (0.3ms) SELECT "exchanges".* 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]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) SAVEPOINT active_record_1 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", "29.32"], ["created_at", "2016-11-16 20:14:41.946347"], ["updated_at", "2016-11-16 20:14:41.946347"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:14:41.950076"], ["updated_at", "2016-11-16 20:14:41.950076"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "exchanges" Economy::Exchange Load (0.3ms) SELECT "exchanges".* 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]] Economy::Exchange Load (0.2ms) SELECT "exchanges".* 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]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) SAVEPOINT active_record_1 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", "29.32"], ["created_at", "2016-11-16 20:15:06.762358"], ["updated_at", "2016-11-16 20:15:06.762358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:06.765950"], ["updated_at", "2016-11-16 20:15:06.765950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "exchanges"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) SAVEPOINT active_record_1 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", "29.32"], ["created_at", "2016-11-16 20:15:19.847933"], ["updated_at", "2016-11-16 20:15:19.847933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:19.851437"], ["updated_at", "2016-11-16 20:15:19.851437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "exchanges" 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]] 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]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-16 20:15:30.404716"], ["updated_at", "2016-11-16 20:15:30.404716"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-16 20:15:30.408552"], ["updated_at", "2016-11-16 20:15:30.408552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.415836"], ["updated_at", "2016-11-16 20:15:30.415836"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.418007"], ["updated_at", "2016-11-16 20:15:30.418007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.420785"], ["updated_at", "2016-11-16 20:15:30.420785"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.423436"], ["updated_at", "2016-11-16 20:15:30.423436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.9ms) 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-11-16 20:15:30.429725"], ["updated_at", "2016-11-16 20:15:30.429725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-16 20:15:30.433314"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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-11-16 20:15:30.437273"], ["updated_at", "2016-11-16 20:15:30.437273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.440477"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.442958"], ["updated_at", "2016-11-16 20:15:30.442958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-16 20:15:30.444600"], ["updated_at", "2016-11-16 20:15:30.444600"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.3ms) SAVEPOINT active_record_1 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-11-16 20:15:30.470995"], ["updated_at", "2016-11-16 20:15:30.470995"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-16 20:15:30.472774"], ["updated_at", "2016-11-16 20:15:30.472774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "exchanges" 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]] 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]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.2ms) SAVEPOINT active_record_1 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-11-16 20:15:30.497649"], ["updated_at", "2016-11-16 20:15:30.497649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.499432"], ["updated_at", "2016-11-16 20:15:30.499432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-16 20:15:30.502075"], ["updated_at", "2016-11-16 20:15:30.502075"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.503644"], ["updated_at", "2016-11-16 20:15:30.503644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.506439"], ["updated_at", "2016-11-16 20:15:30.506439"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.507960"], ["updated_at", "2016-11-16 20:15:30.507960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.510444"], ["updated_at", "2016-11-16 20:15:30.510444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.511856"], ["updated_at", "2016-11-16 20:15:30.511856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.514347"], ["updated_at", "2016-11-16 20:15:30.514347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.515810"], ["updated_at", "2016-11-16 20:15:30.515810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.518491"], ["updated_at", "2016-11-16 20:15:30.518491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.520173"], ["updated_at", "2016-11-16 20:15:30.520173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.522630"], ["updated_at", "2016-11-16 20:15:30.522630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.524050"], ["updated_at", "2016-11-16 20:15:30.524050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.526526"], ["updated_at", "2016-11-16 20:15:30.526526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.527998"], ["updated_at", "2016-11-16 20:15:30.527998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.530360"], ["updated_at", "2016-11-16 20:15:30.530360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.531760"], ["updated_at", "2016-11-16 20:15:30.531760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.538561"], ["updated_at", "2016-11-16 20:15:30.538561"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.540311"], ["updated_at", "2016-11-16 20:15:30.540311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.542756"], ["updated_at", "2016-11-16 20:15:30.542756"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-16 20:15:30.544325"], ["updated_at", "2016-11-16 20:15:30.544325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.546819"], ["updated_at", "2016-11-16 20:15:30.546819"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-16 20:15:30.548291"], ["updated_at", "2016-11-16 20:15:30.548291"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.550833"], ["updated_at", "2016-11-16 20:15:30.550833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.552376"], ["updated_at", "2016-11-16 20:15:30.552376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.555097"], ["updated_at", "2016-11-16 20:15:30.555097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.556641"], ["updated_at", "2016-11-16 20:15:30.556641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.558924"], ["updated_at", "2016-11-16 20:15:30.558924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.560450"], ["updated_at", "2016-11-16 20:15:30.560450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.562788"], ["updated_at", "2016-11-16 20:15:30.562788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.564136"], ["updated_at", "2016-11-16 20:15:30.564136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.570609"], ["updated_at", "2016-11-16 20:15:30.570609"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-16 20:15:30.572395"], ["updated_at", "2016-11-16 20:15:30.572395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.575238"], ["updated_at", "2016-11-16 20:15:30.575238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.576653"], ["updated_at", "2016-11-16 20:15:30.576653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.578857"], ["updated_at", "2016-11-16 20:15:30.578857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-16 20:15:30.580234"], ["updated_at", "2016-11-16 20:15:30.580234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (16.8ms) 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-11-17 17:18:14.246973"], ["updated_at", "2016-11-17 17:18:14.246973"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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.0341"], ["created_at", "2016-11-17 17:18:14.267623"], ["updated_at", "2016-11-17 17:18:14.267623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "exchanges" 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]] 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]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:18:14.326495"], ["updated_at", "2016-11-17 17:18:14.326495"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:18:14.328758"], ["updated_at", "2016-11-17 17:18:14.328758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:18:14.364561"], ["updated_at", "2016-11-17 17:18:14.364561"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.366641"], ["updated_at", "2016-11-17 17:18:14.366641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (5.7ms) 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-11-17 17:18:14.373458"], ["updated_at", "2016-11-17 17:18:14.373458"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-17 17:18:14.381191"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.383539"], ["updated_at", "2016-11-17 17:18:14.383539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.385185"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.387724"], ["updated_at", "2016-11-17 17:18:14.387724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.389314"], ["updated_at", "2016-11-17 17:18:14.389314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.391987"], ["updated_at", "2016-11-17 17:18:14.391987"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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-11-17 17:18:14.393618"], ["updated_at", "2016-11-17 17:18:14.393618"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.398112"], ["updated_at", "2016-11-17 17:18:14.398112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.399581"], ["updated_at", "2016-11-17 17:18:14.399581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.402112"], ["updated_at", "2016-11-17 17:18:14.402112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.403586"], ["updated_at", "2016-11-17 17:18:14.403586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.405903"], ["updated_at", "2016-11-17 17:18:14.405903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.407379"], ["updated_at", "2016-11-17 17:18:14.407379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.409899"], ["updated_at", "2016-11-17 17:18:14.409899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.411256"], ["updated_at", "2016-11-17 17:18:14.411256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.413434"], ["updated_at", "2016-11-17 17:18:14.413434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.414725"], ["updated_at", "2016-11-17 17:18:14.414725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.417323"], ["updated_at", "2016-11-17 17:18:14.417323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:18:14.418678"], ["updated_at", "2016-11-17 17:18:14.418678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.420979"], ["updated_at", "2016-11-17 17:18:14.420979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.422665"], ["updated_at", "2016-11-17 17:18:14.422665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.425556"], ["updated_at", "2016-11-17 17:18:14.425556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.427071"], ["updated_at", "2016-11-17 17:18:14.427071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.429546"], ["updated_at", "2016-11-17 17:18:14.429546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.431078"], ["updated_at", "2016-11-17 17:18:14.431078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.433702"], ["updated_at", "2016-11-17 17:18:14.433702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.435328"], ["updated_at", "2016-11-17 17:18:14.435328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.438103"], ["updated_at", "2016-11-17 17:18:14.438103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:18:14.444138"], ["updated_at", "2016-11-17 17:18:14.444138"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.450521"], ["updated_at", "2016-11-17 17:18:14.450521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.452200"], ["updated_at", "2016-11-17 17:18:14.452200"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:18:14.454994"], ["updated_at", "2016-11-17 17:18:14.454994"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.456517"], ["updated_at", "2016-11-17 17:18:14.456517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.459002"], ["updated_at", "2016-11-17 17:18:14.459002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.460571"], ["updated_at", "2016-11-17 17:18:14.460571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (6.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-11-17 17:18:14.463432"], ["updated_at", "2016-11-17 17:18:14.463432"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.471424"], ["updated_at", "2016-11-17 17:18:14.471424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.474574"], ["updated_at", "2016-11-17 17:18:14.474574"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:18:14.476162"], ["updated_at", "2016-11-17 17:18:14.476162"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.479027"], ["updated_at", "2016-11-17 17:18:14.479027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.480500"], ["updated_at", "2016-11-17 17:18:14.480500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.482813"], ["updated_at", "2016-11-17 17:18:14.482813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.484233"], ["updated_at", "2016-11-17 17:18:14.484233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.486789"], ["updated_at", "2016-11-17 17:18:14.486789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:18:14.488147"], ["updated_at", "2016-11-17 17:18:14.488147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:20:48.539988"], ["updated_at", "2016-11-17 17:20:48.539988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:20:48.544575"], ["updated_at", "2016-11-17 17:20:48.544575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:20:48.557217"], ["updated_at", "2016-11-17 17:20:48.557217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:20:48.559204"], ["updated_at", "2016-11-17 17:20:48.559204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.561727"], ["updated_at", "2016-11-17 17:20:48.561727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.563171"], ["updated_at", "2016-11-17 17:20:48.563171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.565754"], ["updated_at", "2016-11-17 17:20:48.565754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.567375"], ["updated_at", "2016-11-17 17:20:48.567375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.570710"], ["updated_at", "2016-11-17 17:20:48.570710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:20:48.572453"], ["updated_at", "2016-11-17 17:20:48.572453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.575025"], ["updated_at", "2016-11-17 17:20:48.575025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.576409"], ["updated_at", "2016-11-17 17:20:48.576409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.578652"], ["updated_at", "2016-11-17 17:20:48.578652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:20:48.580070"], ["updated_at", "2016-11-17 17:20:48.580070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.582396"], ["updated_at", "2016-11-17 17:20:48.582396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.583644"], ["updated_at", "2016-11-17 17:20:48.583644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.586180"], ["updated_at", "2016-11-17 17:20:48.586180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.587489"], ["updated_at", "2016-11-17 17:20:48.587489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.589799"], ["updated_at", "2016-11-17 17:20:48.589799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.591250"], ["updated_at", "2016-11-17 17:20:48.591250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.593813"], ["updated_at", "2016-11-17 17:20:48.593813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.595212"], ["updated_at", "2016-11-17 17:20:48.595212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.597546"], ["updated_at", "2016-11-17 17:20:48.597546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.599014"], ["updated_at", "2016-11-17 17:20:48.599014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.601653"], ["updated_at", "2016-11-17 17:20:48.601653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.603088"], ["updated_at", "2016-11-17 17:20:48.603088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.605256"], ["updated_at", "2016-11-17 17:20:48.605256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.606622"], ["updated_at", "2016-11-17 17:20:48.606622"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.608990"], ["updated_at", "2016-11-17 17:20:48.608990"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.610396"], ["updated_at", "2016-11-17 17:20:48.610396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.612686"], ["updated_at", "2016-11-17 17:20:48.612686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.614066"], ["updated_at", "2016-11-17 17:20:48.614066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.616389"], ["updated_at", "2016-11-17 17:20:48.616389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.617772"], ["updated_at", "2016-11-17 17:20:48.617772"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.620125"], ["updated_at", "2016-11-17 17:20:48.620125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.621427"], ["updated_at", "2016-11-17 17:20:48.621427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.623589"], ["updated_at", "2016-11-17 17:20:48.623589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.624932"], ["updated_at", "2016-11-17 17:20:48.624932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:20:48.651198"], ["updated_at", "2016-11-17 17:20:48.651198"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.652980"], ["updated_at", "2016-11-17 17:20:48.652980"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "exchanges" 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]] 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]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.670040"], ["updated_at", "2016-11-17 17:20:48.670040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.671711"], ["updated_at", "2016-11-17 17:20:48.671711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.679257"], ["updated_at", "2016-11-17 17:20:48.679257"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.681286"], ["updated_at", "2016-11-17 17:20:48.681286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:20:48.687854"], ["updated_at", "2016-11-17 17:20:48.687854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-17 17:20:48.689798"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.691948"], ["updated_at", "2016-11-17 17:20:48.691948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.693474"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.695768"], ["updated_at", "2016-11-17 17:20:48.695768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.697280"], ["updated_at", "2016-11-17 17:20:48.697280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.701132"], ["updated_at", "2016-11-17 17:20:48.701132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:20:48.702652"], ["updated_at", "2016-11-17 17:20:48.702652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo --------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- RatesTest: test_base --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ----------------------- RatesTest: test_retries -----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------- RatesTest: test_retries -----------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:29:46.850098"], ["updated_at", "2016-11-17 17:29:46.850098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:29:46.854662"], ["updated_at", "2016-11-17 17:29:46.854662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.857974"], ["updated_at", "2016-11-17 17:29:46.857974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.859591"], ["updated_at", "2016-11-17 17:29:46.859591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.863345"], ["updated_at", "2016-11-17 17:29:46.863345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.865046"], ["updated_at", "2016-11-17 17:29:46.865046"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.867905"], ["updated_at", "2016-11-17 17:29:46.867905"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.869436"], ["updated_at", "2016-11-17 17:29:46.869436"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.871937"], ["updated_at", "2016-11-17 17:29:46.871937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.873342"], ["updated_at", "2016-11-17 17:29:46.873342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.875792"], ["updated_at", "2016-11-17 17:29:46.875792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.877120"], ["updated_at", "2016-11-17 17:29:46.877120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.879469"], ["updated_at", "2016-11-17 17:29:46.879469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.880845"], ["updated_at", "2016-11-17 17:29:46.880845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.883319"], ["updated_at", "2016-11-17 17:29:46.883319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.884671"], ["updated_at", "2016-11-17 17:29:46.884671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.886993"], ["updated_at", "2016-11-17 17:29:46.886993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.888342"], ["updated_at", "2016-11-17 17:29:46.888342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.890625"], ["updated_at", "2016-11-17 17:29:46.890625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.891967"], ["updated_at", "2016-11-17 17:29:46.891967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.894091"], ["updated_at", "2016-11-17 17:29:46.894091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.895506"], ["updated_at", "2016-11-17 17:29:46.895506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:29:46.905318"], ["updated_at", "2016-11-17 17:29:46.905318"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.907023"], ["updated_at", "2016-11-17 17:29:46.907023"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:29:46.915551"], ["updated_at", "2016-11-17 17:29:46.915551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.917298"], ["updated_at", "2016-11-17 17:29:46.917298"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.919949"], ["updated_at", "2016-11-17 17:29:46.919949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.921427"], ["updated_at", "2016-11-17 17:29:46.921427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.924596"], ["updated_at", "2016-11-17 17:29:46.924596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.926493"], ["updated_at", "2016-11-17 17:29:46.926493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:29:46.929275"], ["updated_at", "2016-11-17 17:29:46.929275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.930736"], ["updated_at", "2016-11-17 17:29:46.930736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.933187"], ["updated_at", "2016-11-17 17:29:46.933187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.934657"], ["updated_at", "2016-11-17 17:29:46.934657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.936945"], ["updated_at", "2016-11-17 17:29:46.936945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.938422"], ["updated_at", "2016-11-17 17:29:46.938422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.940941"], ["updated_at", "2016-11-17 17:29:46.940941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.942388"], ["updated_at", "2016-11-17 17:29:46.942388"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- RatesTest: test_retries -----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.950912"], ["updated_at", "2016-11-17 17:29:46.950912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:29:46.952596"], ["updated_at", "2016-11-17 17:29:46.952596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:29:46.959321"], ["updated_at", "2016-11-17 17:29:46.959321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-17 17:29:46.961378"], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:29:46.970711"], ["updated_at", "2016-11-17 17:29:46.970711"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.972474"], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.974997"], ["updated_at", "2016-11-17 17:29:46.974997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.976773"], ["updated_at", "2016-11-17 17:29:46.976773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.980522"], ["updated_at", "2016-11-17 17:29:46.980522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.982076"], ["updated_at", "2016-11-17 17:29:46.982076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:29:46.984805"], ["updated_at", "2016-11-17 17:29:46.984805"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:46.986665"], ["updated_at", "2016-11-17 17:29:46.986665"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:29:47.016705"], ["updated_at", "2016-11-17 17:29:47.016705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:29:47.018340"], ["updated_at", "2016-11-17 17:29:47.018340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "exchanges" 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]] 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]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:30:32.009030"], ["updated_at", "2016-11-17 17:30:32.009030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.013287"], ["updated_at", "2016-11-17 17:30:32.013287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.028509"], ["updated_at", "2016-11-17 17:30:32.028509"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.030407"], ["updated_at", "2016-11-17 17:30:32.030407"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.033184"], ["updated_at", "2016-11-17 17:30:32.033184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.034717"], ["updated_at", "2016-11-17 17:30:32.034717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.037532"], ["updated_at", "2016-11-17 17:30:32.037532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.039134"], ["updated_at", "2016-11-17 17:30:32.039134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.045442"], ["updated_at", "2016-11-17 17:30:32.045442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-17 17:30:32.047393"], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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-11-17 17:30:32.052075"], ["updated_at", "2016-11-17 17:30:32.052075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.053621"], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.057061"], ["updated_at", "2016-11-17 17:30:32.057061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.058652"], ["updated_at", "2016-11-17 17:30:32.058652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.061394"], ["updated_at", "2016-11-17 17:30:32.061394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.063111"], ["updated_at", "2016-11-17 17:30:32.063111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.069506"], ["updated_at", "2016-11-17 17:30:32.069506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.071121"], ["updated_at", "2016-11-17 17:30:32.071121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.073721"], ["updated_at", "2016-11-17 17:30:32.073721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.075169"], ["updated_at", "2016-11-17 17:30:32.075169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_coerce ----------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.077518"], ["updated_at", "2016-11-17 17:30:32.077518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.078924"], ["updated_at", "2016-11-17 17:30:32.078924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.081302"], ["updated_at", "2016-11-17 17:30:32.081302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.082744"], ["updated_at", "2016-11-17 17:30:32.082744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.085465"], ["updated_at", "2016-11-17 17:30:32.085465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.087037"], ["updated_at", "2016-11-17 17:30:32.087037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.089562"], ["updated_at", "2016-11-17 17:30:32.089562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.091082"], ["updated_at", "2016-11-17 17:30:32.091082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.093579"], ["updated_at", "2016-11-17 17:30:32.093579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.095133"], ["updated_at", "2016-11-17 17:30:32.095133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.097525"], ["updated_at", "2016-11-17 17:30:32.097525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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-11-17 17:30:32.098916"], ["updated_at", "2016-11-17 17:30:32.098916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.102463"], ["updated_at", "2016-11-17 17:30:32.102463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.104036"], ["updated_at", "2016-11-17 17:30:32.104036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.106750"], ["updated_at", "2016-11-17 17:30:32.106750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.108214"], ["updated_at", "2016-11-17 17:30:32.108214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.110514"], ["updated_at", "2016-11-17 17:30:32.110514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.111890"], ["updated_at", "2016-11-17 17:30:32.111890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.114504"], ["updated_at", "2016-11-17 17:30:32.114504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.115835"], ["updated_at", "2016-11-17 17:30:32.115835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.118271"], ["updated_at", "2016-11-17 17:30:32.118271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.119736"], ["updated_at", "2016-11-17 17:30:32.119736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.122172"], ["updated_at", "2016-11-17 17:30:32.122172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.123638"], ["updated_at", "2016-11-17 17:30:32.123638"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 17:30:32.125986"], ["updated_at", "2016-11-17 17:30:32.125986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.127435"], ["updated_at", "2016-11-17 17:30:32.127435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.129792"], ["updated_at", "2016-11-17 17:30:32.129792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.131233"], ["updated_at", "2016-11-17 17:30:32.131233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.133726"], ["updated_at", "2016-11-17 17:30:32.133726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.135119"], ["updated_at", "2016-11-17 17:30:32.135119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.137405"], ["updated_at", "2016-11-17 17:30:32.137405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.138743"], ["updated_at", "2016-11-17 17:30:32.138743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- RatesTest: test_retries -----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.3ms) SAVEPOINT active_record_1 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-11-17 17:30:32.179268"], ["updated_at", "2016-11-17 17:30:32.179268"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 17:30:32.181276"], ["updated_at", "2016-11-17 17:30:32.181276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "exchanges" 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]] 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]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ----------------------- RatesTest: test_retries -----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- RatesTest: test_yahoo ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- RecordTest: test_default_currency ---------------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 18:15:25.361084"], ["updated_at", "2016-11-17 18:15:25.361084"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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-11-17 18:15:25.366684"], ["updated_at", "2016-11-17 18:15:25.366684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ RecordTest: test_helpers ------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.374281"], ["updated_at", "2016-11-17 18:15:25.374281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.376103"], ["updated_at", "2016-11-17 18:15:25.376103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.378934"], ["updated_at", "2016-11-17 18:15:25.378934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.380578"], ["updated_at", "2016-11-17 18:15:25.380578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (6.0ms) 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-11-17 18:15:25.387048"], ["updated_at", "2016-11-17 18:15:25.387048"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "plans" SET "monthly_price" = $1, "updated_at" = $2 WHERE "plans"."id" = $3 [["monthly_price", "100.0"], ["updated_at", "2016-11-17 18:15:25.394784"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.399278"], ["updated_at", "2016-11-17 18:15:25.399278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.400996"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN --------------------------- RecordTest: test_validators ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.403555"], ["updated_at", "2016-11-17 18:15:25.403555"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.405231"], ["updated_at", "2016-11-17 18:15:25.405231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------- MoneyTest: test_divmod ----------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.414344"], ["updated_at", "2016-11-17 18:15:25.414344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.416009"], ["updated_at", "2016-11-17 18:15:25.416009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- MoneyTest: test_%_and_modulo ----------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.418637"], ["updated_at", "2016-11-17 18:15:25.418637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.420031"], ["updated_at", "2016-11-17 18:15:25.420031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- MoneyTest: test_to_json_and_as_json -----------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.422580"], ["updated_at", "2016-11-17 18:15:25.422580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.423999"], ["updated_at", "2016-11-17 18:15:25.423999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_=== -------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.426528"], ["updated_at", "2016-11-17 18:15:25.426528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.427952"], ["updated_at", "2016-11-17 18:15:25.427952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_negative? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.430236"], ["updated_at", "2016-11-17 18:15:25.430236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.431583"], ["updated_at", "2016-11-17 18:15:25.431583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_* -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.433792"], ["updated_at", "2016-11-17 18:15:25.433792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.435147"], ["updated_at", "2016-11-17 18:15:25.435147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_- -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.437594"], ["updated_at", "2016-11-17 18:15:25.437594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.439135"], ["updated_at", "2016-11-17 18:15:25.439135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- MoneyTest: test_<=> -------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 18:15:25.441575"], ["updated_at", "2016-11-17 18:15:25.441575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.443246"], ["updated_at", "2016-11-17 18:15:25.443246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_positive? -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.445830"], ["updated_at", "2016-11-17 18:15:25.445830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.447525"], ["updated_at", "2016-11-17 18:15:25.447525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_+ -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.449961"], ["updated_at", "2016-11-17 18:15:25.449961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.451385"], ["updated_at", "2016-11-17 18:15:25.451385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------ MoneyTest: test_-@ ------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.454617"], ["updated_at", "2016-11-17 18:15:25.454617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.456080"], ["updated_at", "2016-11-17 18:15:25.456080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- MoneyTest: test_zero? ---------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.458266"], ["updated_at", "2016-11-17 18:15:25.458266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.459619"], ["updated_at", "2016-11-17 18:15:25.459619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- MoneyTest: test_to_s --------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.461731"], ["updated_at", "2016-11-17 18:15:25.461731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.463062"], ["updated_at", "2016-11-17 18:15:25.463062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- MoneyTest: test_coerce ----------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.470589"], ["updated_at", "2016-11-17 18:15:25.470589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.472086"], ["updated_at", "2016-11-17 18:15:25.472086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_/_and_div -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.474266"], ["updated_at", "2016-11-17 18:15:25.474266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.475756"], ["updated_at", "2016-11-17 18:15:25.475756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------- MoneyTest: test_< -----------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.478113"], ["updated_at", "2016-11-17 18:15:25.478113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.479389"], ["updated_at", "2016-11-17 18:15:25.479389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ MoneyTest: test_nonzero? ------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.481447"], ["updated_at", "2016-11-17 18:15:25.481447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.482617"], ["updated_at", "2016-11-17 18:15:25.482617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- MoneyTest: test_abs_and_magnitude ---------------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.485056"], ["updated_at", "2016-11-17 18:15:25.485056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.486425"], ["updated_at", "2016-11-17 18:15:25.486425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- MoneyTest: test_remainder -------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.488381"], ["updated_at", "2016-11-17 18:15:25.488381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.489666"], ["updated_at", "2016-11-17 18:15:25.489666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- MoneyTest: test_exchange_to ---------------------------  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.492000"], ["updated_at", "2016-11-17 18:15:25.492000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.493435"], ["updated_at", "2016-11-17 18:15:25.493435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- TaskTest: test_update_rates ---------------------------  (0.2ms) SAVEPOINT active_record_1 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-11-17 18:15:25.525946"], ["updated_at", "2016-11-17 18:15:25.525946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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-11-17 18:15:25.527803"], ["updated_at", "2016-11-17 18:15:25.527803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "exchanges" 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]] 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]]  (0.1ms) ROLLBACK